Skip to content

Commit

Permalink
Update release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Madman10K authored Nov 17, 2024
1 parent 2c2fe94 commit 797f7a4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,27 @@ jobs:
run: |
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: "Import bot's GPG key for signing commits"
id: import-gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.ACTION_COMMIT_SING_PRIVATE_KEY }}
passphrase: ${{ secrets.ACTION_COMMIT_SING_PASS }}
git_config_global: true
git_user_signingkey: true
git_commit_gpgsign: true
- name: Extract commit data
uses: rlespinasse/git-commit-data-action@v1.x
- name: Update submodules
id: mod
run: |
git config --global user.name "Madman10K"
git config --global user.email "contact@madladsquad.com"
git fetch --all
git submodule update --remote --merge --init --recursive
sed -i "s/project(UntitledXDGBasedir.*/project(UntitledXDGBasedir VERSION ${{ github.ref_name }})/g" CMakeLists.txt
git add . && git commit -m "Automatically bump version" && git push origin HEAD:master
- name: Create archive
shell: bash
run: |
Expand Down

0 comments on commit 797f7a4

Please sign in to comment.