Skip to content

Commit

Permalink
fix: changed prerelease recognition
Browse files Browse the repository at this point in the history
  • Loading branch information
demeyerthom committed Nov 14, 2023
1 parent 1ba0bb3 commit be189fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release-beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ jobs:
GOPATH: ${{ env.GOPATH }}
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}
SKIP_UPLOAD: true
RELEASE_MAKE_LATEST: false
RELEASE_PRERELEASE: true

- name: Upload release
uses: actions/upload-artifact@v3
Expand Down
5 changes: 1 addition & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ project_name: mach-composer

env:
- SKIP_UPLOAD={{ if index .Env "SKIP_UPLOAD" }}{{ .Env.SKIP_UPLOAD }}{{ else }}false{{ end }}
- RELEASE_MAKE_LATEST={{ if index .Env "RELEASE_MAKE_LATEST" }}{{ .Env.RELEASE_MAKE_LATEST }}{{ else }}true{{ end }}
- RELEASE_PRERELEASE={{ if index .Env "RELEASE_PRERELEASE" }}{{ .Env.RELEASE_PRERELEASE }}{{ else }}false{{ end }}

before:
hooks:
Expand Down Expand Up @@ -48,8 +46,7 @@ checksum:
# Publish step
release:
mode: replace
make_latest: "{{ Env.RELEASE_MAKE_LATEST }}"
prerelease: "{{ Env.RELEASE_PRERELEASE }}"
prerelease: auto

changelog:
use: github
Expand Down

0 comments on commit be189fa

Please sign in to comment.