Skip to content

Commit

Permalink
Use the latest tag instead of the current tag in release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
theRookieCoder committed Feb 23, 2024
1 parent a75ceb3 commit d7c56ea
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: ./out/*
name: Ferium ${{ github.ref_name }}
name: Ferium $(git describe --tags)
tag_name: $(git describe --tags)
body: |
Compiled binaries for Ferium version `${{ github.ref_name }}` ([changelog](${{ github.server_url }}/${{ github.repository }}/blob/main/CHANGELOG.md#${{ env.MD_HEADER }}))
Compiled binaries for Ferium version `$(git describe --tags)` ([changelog](${{ github.server_url }}/${{ github.repository }}/blob/main/CHANGELOG.md#${{ env.MD_HEADER }}))
The provided binaries are for:
- Linux ARM without a GUI file dialogue
Expand Down Expand Up @@ -71,13 +72,15 @@ jobs:
uses: ATiltedTree/create-aur-release@v1
with:
package_name: ferium-bin
package_version: $(git describe --tags)
commit_username: "Ilesh Thiada"
commit_email: ileshkt@gmail.com
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
- name: Update gui AUR package
uses: ATiltedTree/create-aur-release@v1
with:
package_name: ferium-gui-bin
package_version: $(git describe --tags)
commit_username: "Ilesh Thiada"
commit_email: ileshkt@gmail.com
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
Expand All @@ -95,5 +98,7 @@ jobs:

- name: Update Homebrew formula
uses: mislav/bump-homebrew-formula-action@v3
with:
tag-name: $(git describe --tags)
env:
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}

0 comments on commit d7c56ea

Please sign in to comment.