Skip to content

Commit

Permalink
Pass the private key password to GPG when creating the tag for the re…
Browse files Browse the repository at this point in the history
…lease
  • Loading branch information
Frizlab committed Feb 24, 2024
1 parent 577dd93 commit 00142b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- name: "Install xct and swift-sh"
run: |
brew install xcode-actions/tap/xct xcode-actions/tap/swift-sh
brew install xcode-actions/tap/xct xcode-actions/tap/swift-sh frizlab/perso/gpg-pass-from
- name: "Checkout eXtenderZ versioning"
uses: actions/checkout@v2
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
git add Package.swift
git commit -am "Create the Package.swift file for SPM-compatibility"
git tag -sm "eXtenderZ $NEW_MARKETING_VERSION" "$TAG_NAME"
git -c gpg.program="gpg-pass-from-fd7" tag -sm "eXtenderZ $NEW_MARKETING_VERSION" "$TAG_NAME" 7<<<"${{ secrets.GPG_PRIVATE_KEY_PASS }}"
git push origin "$TAG_NAME"
- uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 00142b6

Please sign in to comment.