Skip to content

Commit

Permalink
fix(actions): remove the version check at release
Browse files Browse the repository at this point in the history
  • Loading branch information
danvergara committed Oct 27, 2024
1 parent f7337f4 commit bd6af9e
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,7 @@ jobs:
go-version: "1.22"
check-latest: true
cache: true
- name: Set release tag env variable
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Set the current version as env variable
run: |
make build
echo "CURRENT_VERSION=$(./dblab version)" >> $GITHUB_ENV
- name: Test the env variables
run: |
echo RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}
echo CURRENT_VERSION
echo ${{ env.CURRENT_VERSION }}
- name: Run GoReleaser
if: env.RELEASE_VERSION == env.CURRENT_VERSION
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
Expand Down

0 comments on commit bd6af9e

Please sign in to comment.