Skip to content

Commit

Permalink
publish-aur.yaml fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jasursadikov committed Nov 6, 2024
1 parent 6d973e5 commit c5753fa
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/publish-aur.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Get Version from Tag
id: get_version
run: echo "VERSION=$(git describe --tags --abbrev=0 | sed 's/^v//')" >> $GITHUB_ENV

- name: Update PKGBUILD with New Version
- name: Update PKGBUILD with Tag Version
run: |
sed -i "s/^pkgver=.*/pkgver=${{ env.VERSION }}/" PKGBUILD
git describe --tags --abbrev=0 | sed 's/^v//'
sed -i "s/^pkgver=.*/pkgver=$(git describe --tags --abbrev=0 | sed 's/^v//')/" PKGBUILD
cat PKGBUILD
- name: Publish AUR package
Expand Down

0 comments on commit c5753fa

Please sign in to comment.