Skip to content

Commit

Permalink
add lega-cmdr to release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Parisa68 committed Sep 25, 2024
1 parent bb48f22 commit c64582d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ jobs:
# git tag v${{ steps.bump_lega_commander_version.outputs.new_lega_commander_version }} ${{ github.sha }}
# git push origin v${{ steps.bump_lega_commander_version.outputs.new_lega_commander_version }}
#
# - name: Export goreleaser tags
# run: |
# echo "GORELEASER_CURRENT_TAG=v${{ steps.bump_lega_commander_version.outputs.new_lega_commander_version }}" >> $GITHUB_ENV
# echo "GORELEASER_PREVIOUS_TAG=v${{ steps.version_lega_commander.outputs.lega_commander_version }}" >> $GITHUB_ENV
#
- name: Export goreleaser tags
run: |
echo "GORELEASER_CURRENT_TAG=v${{ steps.bump_lega_commander_version.outputs.new_lega_commander_version }}" >> $GITHUB_ENV
echo "GORELEASER_PREVIOUS_TAG=v${{ steps.version_lega_commander.outputs.lega_commander_version }}" >> $GITHUB_ENV
# - name: Fetch tags before running GoReleaser
# run: git fetch --tags
#
Expand All @@ -123,7 +123,7 @@ jobs:

- name: Run GoReleaser with Custom Tag
run: |
goreleaser release --verbose --clean ${{ steps.bump_lega_commander_version.outputs.new_lega_commander_version }} --release-notes "Release for version ${{ steps.bump_lega_commander_version.outputs.new_lega_commander_version }}"
goreleaser release --verbose --clean --release-notes "Release for version ${{ steps.bump_lega_commander_version.outputs.new_lega_commander_version }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit c64582d

Please sign in to comment.