Skip to content

Commit 3eb3597

Browse files
authored
chore: update aur job in publish.yaml (#5915)
This uses the `env.VERSION` which should fix the issue with version being blank.
1 parent 8377bd2 commit 3eb3597

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish.yaml

+5-3
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,14 @@ jobs:
137137
- name: Open PR
138138
# We need to git push -u otherwise gh will prompt
139139
# asking where to push the branch.
140+
env:
141+
VERSION: ${{ env.VERSION }}
140142
run: |
141-
git checkout -b update-version-${{ steps.version.outputs.version }}
143+
git checkout -b update-version-${{ env.VERSION }}
142144
git add .
143-
git commit -m "chore: updating version to ${{ steps.version.outputs.version }}"
145+
git commit -m "chore: updating version to ${{ env.VERSION }}"
144146
git push -u origin $(git branch --show)
145-
gh pr create --repo coder/code-server-aur --title "chore: bump version to ${{ steps.version.outputs.version }}" --body "PR opened by @$GITHUB_ACTOR" --assignee $GITHUB_ACTOR
147+
gh pr create --repo coder/code-server-aur --title "chore: bump version to ${{ env.VERSION }}" --body "PR opened by @$GITHUB_ACTOR" --assignee $GITHUB_ACTOR
146148
docker:
147149
runs-on: ubuntu-20.04
148150
steps:

0 commit comments

Comments
 (0)