Compare commits

..
Author SHA1 Message Date
Graham Steffaniak b273f44cac Update .goreleaser.yaml (#295) 2025-01-20 21:05:12 -05:00
Graham Steffaniak f9a31f08c3 updated go-releaser (#294) 2025-01-20 17:31:38 -06:00
Graham Steffaniak 09493392db Fix user creation issue (#291) 2025-01-13 19:30:51 -06:00
2 changed files with 19 additions and 3 deletions

No files matched your search

+18 -3
View File
@@ -10,7 +10,6 @@ builds:
main: main.go
binary: filebrowser
goos:
- darwin
- linux
goarch:
- amd64
@@ -21,7 +20,7 @@ builds:
- "7"
hooks:
post:
- upx --force-macos {{ .Path }} # Compress the binary with UPX
- upx {{ .Path }} # Compress the binary with UPX
# Build configuration for windows without arm
- id: windows
@@ -36,8 +35,24 @@ builds:
post:
- upx {{ .Path }} # Compress the binary with UPX
# Build configuration for windows without arm & upx
- id: macos
ldflags: *ldflags
main: main.go
binary: filebrowser
goos:
- darwin
goarch:
- amd64
- arm64
archives:
- name_template: "{{.Os}}-{{.Arch}}{{if .Arm}}v{{.Arm}}{{end}}-{{ .ProjectName }}"
- name_template: >
{{- if eq .Os "windows" -}}
{{.ProjectName}}
{{- else -}}
{{.Os}}-{{.Arch}}{{if .Arm}}v{{.Arm}}{{end}}-{{.ProjectName}}
{{- end -}}
format: binary
checksum:
+1
View File
@@ -110,6 +110,7 @@ export default {
event.preventDefault();
try {
if (this.isNew) {
await usersApi.create(this.userPayload);
this.$router.push({ path: "/settings", hash: "#users-main" });
notify.showSuccess(this.$t("settings.userCreated"));
} else {