Skip to content

Commit

Permalink
[release] move git config above gpg config
Browse files Browse the repository at this point in the history
  • Loading branch information
cacoco committed Feb 6, 2024
1 parent 26b19a8 commit 3a11a5e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,19 @@ jobs:
file: codemeta.json
field: version
value: "${{ env.release-version }}"
- name: Set up Git Config
run: |
git config user.name "Christopher Coco"
git config user.email "<christopher@angstrom.io>"
git config commit.gpgsign true
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: Set up Git Config
run: |
git config user.name "Christopher Coco"
git config user.email "<christopher@angstrom.io>"
git_commit_gpgsign: true
- name: Commit updated codemeta.json file on main branch
run: |
git checkout main
Expand Down

0 comments on commit 3a11a5e

Please sign in to comment.