Skip to content

Commit 31f311c

Browse files
committed
wip
1 parent 51767bc commit 31f311c

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,17 +130,20 @@ jobs:
130130
git config --global user.name cdrci
131131
git config --global user.email opensource@coder.com
132132
133-
# The update.sh script will take care of git add ., git commit and git push
134-
# Reference: https://github.com/coder/code-server-aur/blob/master/update.sh
135-
- name: Bump version
136-
run: |
137-
git checkout -b update-version-${{ steps.version.outputs.version }}
138-
sh ./update.sh ${{ steps.version.outputs.version }}
133+
- name: Validate package
134+
uses: hapakaien/archlinux-package-action@v2
135+
with:
136+
pkgver: ${{ steps.version.outputs.version }}
137+
updpkgsums: true
138+
srcinfo: true
139139

140140
- name: Open PR
141141
# We need to gitt push -u otherwise gh will prompt
142142
# asking where to push branch.
143143
run: |
144+
git checkout -b update-version-${{ steps.version.outputs.version }}
145+
git add .
146+
git commit -m "chore: updating version to ${{ steps.version.outputs.version }}"
144147
git push -u origin $(git branch --show)
145148
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
146149

0 commit comments

Comments
 (0)