mirror of
https://github.com/coder/code-server.git
synced 2024-12-27 03:34:06 +03:00
chore: update aur job in publish.yaml (#5915)
This uses the `env.VERSION` which should fix the issue with version being blank.
This commit is contained in:
parent
8377bd23df
commit
3eb35979f0
8
.github/workflows/publish.yaml
vendored
8
.github/workflows/publish.yaml
vendored
@ -137,12 +137,14 @@ jobs:
|
|||||||
- name: Open PR
|
- name: Open PR
|
||||||
# We need to git push -u otherwise gh will prompt
|
# We need to git push -u otherwise gh will prompt
|
||||||
# asking where to push the branch.
|
# asking where to push the branch.
|
||||||
|
env:
|
||||||
|
VERSION: ${{ env.VERSION }}
|
||||||
run: |
|
run: |
|
||||||
git checkout -b update-version-${{ steps.version.outputs.version }}
|
git checkout -b update-version-${{ env.VERSION }}
|
||||||
git add .
|
git add .
|
||||||
git commit -m "chore: updating version to ${{ steps.version.outputs.version }}"
|
git commit -m "chore: updating version to ${{ env.VERSION }}"
|
||||||
git push -u origin $(git branch --show)
|
git push -u origin $(git branch --show)
|
||||||
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
|
gh pr create --repo coder/code-server-aur --title "chore: bump version to ${{ env.VERSION }}" --body "PR opened by @$GITHUB_ACTOR" --assignee $GITHUB_ACTOR
|
||||||
docker:
|
docker:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user