From 34580b0097758077fbcc5970402ed9fc9ea9cc03 Mon Sep 17 00:00:00 2001 From: Kristof Kowalski Date: Mon, 13 Nov 2023 23:45:17 +1100 Subject: [PATCH] fix: fixing release --- .goreleaser-linux.yaml | 20 ++++----- .goreleaser.yaml | 100 ----------------------------------------- README.md | 4 +- 3 files changed, 12 insertions(+), 112 deletions(-) delete mode 100644 .goreleaser.yaml diff --git a/.goreleaser-linux.yaml b/.goreleaser-linux.yaml index 6c84d4d..547e3b9 100644 --- a/.goreleaser-linux.yaml +++ b/.goreleaser-linux.yaml @@ -16,16 +16,16 @@ builds: ldflags: - -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.CommitDate}} mod_timestamp: "{{.CommitTimestamp}}" - - id: slack-buddy-linux-arm64 - binary: slack-buddy - main: ./cmd/slack-buddy/ - goarch: - - arm64 - goos: - - linux - ldflags: - - -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.CommitDate}} - mod_timestamp: "{{.CommitTimestamp}}" + # - id: slack-buddy-linux-arm64 + # binary: slack-buddy + # main: ./cmd/slack-buddy/ + # goarch: + # - arm64 + # goos: + # - linux + # ldflags: + # - -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.CommitDate}} + # mod_timestamp: "{{.CommitTimestamp}}" archives: - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' diff --git a/.goreleaser.yaml b/.goreleaser.yaml deleted file mode 100644 index 56e25e9..0000000 --- a/.goreleaser.yaml +++ /dev/null @@ -1,100 +0,0 @@ -env: - - CGO_ENABLED=1 - -before: - hooks: - - go mod tidy - -builds: - - id: slack-buddy-darwin-amd64 - binary: slack-buddy - main: ./cmd/slack-buddy/ - goarch: - - amd64 - goos: - - darwin - ldflags: - - -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.CommitDate}} - mod_timestamp: "{{.CommitTimestamp}}" - - id: slack-buddy-darwin-arm64 - binary: slack-buddy - main: ./cmd/slack-buddy/ - goarch: - - arm64 - goos: - - darwin - ldflags: - - -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.CommitDate}} - mod_timestamp: "{{.CommitTimestamp}}" - # - id: slack-buddy-linux-amd64 - # binary: slack-buddy - # main: ./cmd/slack-buddy/ - # goarch: - # - amd64 - # goos: - # - linux - # ldflags: - # - -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.CommitDate}} - # mod_timestamp: "{{.CommitTimestamp}}" - # - id: slack-buddy-linux-arm64 - # binary: slack-buddy - # main: ./cmd/slack-buddy/ - # goarch: - # - arm64 - # goos: - # - linux - # ldflags: - # - -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.CommitDate}} - # mod_timestamp: "{{.CommitTimestamp}}" - # - id: slack-buddy-windows-amd64 - # binary: slack-buddy - # main: ./cmd/slack-buddy/ - # goarch: - # - amd64 - # goos: - # - windows - # ldflags: - # - -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.CommitDate}} - # mod_timestamp: "{{.CommitTimestamp}}" - -universal_binaries: - - id: slack-buddy-darwin-universal - ids: - - slack-buddy-darwin-amd64 - - slack-buddy-darwin-arm64 - replace: true - name_template: "slack-buddy" - -archives: - - name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}' - format_overrides: - - goos: windows - format: zip - wrap_in_directory: true - -checksum: - name_template: checksums.txt - -snapshot: - name_template: "{{ incpatch .Version }}-next" - -changelog: - sort: asc - filters: - exclude: - - '^docs:' - - '^test:' - - Merge pull request - - Merge branch - -brews: - - name: slack-buddy - repository: - owner: 'krzko' - name: 'homebrew-tap' - homepage: https://github.com/krzko/slack-buddy - description: "Slack Buddy is a convenient tool designed to help you manage your Slack status effortlessly" - install: | - bin.install "slack-buddy" - test: | - system "#{bin}/slack-buddy -v" diff --git a/README.md b/README.md index bce1b33..ec5bb6b 100644 --- a/README.md +++ b/README.md @@ -80,9 +80,9 @@ Slack Buddy is ideal for anyone who need to keep their team updated on their ava Slack Buddy custom and scheduled statuses can be added via updating the`config.yaml` file in your home directory. An example config.yaml can be seen [here](./config_example.yaml). The file will be located in: -* **linux**: `~/.slack-buddy/config.yaml` +* **linux**: Soon * **macOS**: `~/.slack-buddy/config.yaml` -* **Windows**: Not tested yet +* **Windows**: Soon ### `api_token`