Skip to content

Commit

Permalink
Merge pull request #34 from cacoco/moveGitconfig
Browse files Browse the repository at this point in the history
[release] move git config above gpg config
  • Loading branch information
cacoco authored Feb 6, 2024
2 parents 26b19a8 + fa80470 commit 869c405
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@ jobs:
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
git_committer_name: ${{ secrets.GIT_COMMITTER_NAME }}
git_committer_email: ${{ secrets.GIT_COMMITTER_EMAIL }}
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 All @@ -53,17 +51,15 @@ jobs:
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
git_committer_name: ${{ secrets.GIT_COMMITTER_NAME }}
git_committer_email: ${{ secrets.GIT_COMMITTER_EMAIL }}
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>"
- name: Get release version from current tag
run: |
tag="${{ github.ref_name }}"
echo "release-version=${tag#v}" >> $GITHUB_ENV
- name: Update codemeta.json version in main branch
- name: Update codemeta.json version in tag
uses: jossef/action-set-json-field@v2.1
with:
file: codemeta.json
Expand Down

0 comments on commit 869c405

Please sign in to comment.