File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -178,9 +178,8 @@ jobs:
178
178
dist/macos/*.dmg
179
179
merged.yml
180
180
181
- - name : Set version output
182
- run : echo "releasever=${{ steps.create_release.outputs.tag_name }}" >> $GITHUB_ENV
183
-
181
+ outputs :
182
+ version_tag : ${{ steps.version.outputs.version }}
184
183
aur :
185
184
name : Publish to AUR
186
185
runs-on : ubuntu-latest
@@ -209,9 +208,10 @@ jobs:
209
208
210
209
- name : Extract checksum from sha256sum.txt and change build version
211
210
run : |
211
+ echo releasever
212
212
new_checksum=$(awk 'NR==1 { print $1 }' ./sha256sum.txt)
213
213
sed -i "s|sha256sums=('SKIP' 'SKIP')|sha256sums=('$new_checksum' 'SKIP')|" ./build/PKGBUILD
214
- sed -i "s| pkgver=\"\"| pkgver=\"$releasever\"| " ./build/PKGBUILD
214
+ sed -i "s/^ pkgver=.*$/ pkgver=${{ needs.release.outputs.version_tag }}/ " ./build/PKGBUILD
215
215
216
216
- name : Publish AUR package
217
217
uses : KSXGitHub/github-actions-deploy-aur@v3.0.1
You can’t perform that action at this time.
0 commit comments