Skip to content

Commit

Permalink
build: ockam_v0.63.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ockam-team authored and mrinalwadhwa committed Jun 30, 2022
1 parent f5a92bc commit 00669c8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create-release-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
id: import_gpg
uses: hashicorp/ghaction-import-gpg@78437f97569a473e42b227be84d4084c2dfb49ba
env:
GPG_PRIVATE_KEY: '${{ secrets.GPG_PRIVATE_KEY }}'
PASSPHRASE: '${{ secrets.GPG_PASSPHRASE }}'
GPG_PRIVATE_KEY: '${{ secrets.PR_BOT_GPG_PRIVATE_KEY }}'
PASSPHRASE: '${{ secrets.PR_BOT_GPG_PASSPHRASE }}'

- name: Add GPG Key
run: |
git config --global user.email "${{ secrets.GPG_EMAIL }}"
git config --global user.name "${{ secrets.GPG_USER_NAME }}"
git config --global user.email "${{ secrets.PR_BOT_EMAIL }}"
git config --global user.name "${{ secrets.PR_BOT_GITHUB_USERNAME }}"
git config --global user.signingkey "${{ steps.import_gpg.outputs.fingerprint }}"
- name: Bump Terraform Version
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,15 @@ jobs:
id: tag_gpg
uses: hashicorp/ghaction-import-gpg@78437f97569a473e42b227be84d4084c2dfb49ba # v2.1.0
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }}

- name: Import GPG Key For Terraform
id: import_gpg
uses: hashicorp/ghaction-import-gpg@78437f97569a473e42b227be84d4084c2dfb49ba # v2.1.0
env:
GPG_PRIVATE_KEY: ${{ secrets.RELEASE_GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.RELEASE_GPG_PRIVATE_KEY_PASSWORD }}
GPG_PRIVATE_KEY: ${{ secrets.PR_BOT_GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.PR_BOT_GPG_PASSPHRASE }}

- name: Add GPG Key And Sign Tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.email "${{ secrets.GPG_EMAIL }}"
git config --global user.name "${{ secrets.GPG_USER_NAME }}"
git config --global user.email "${{ secrets.PR_BOT_EMAIL }}"
git config --global user.name "${{ secrets.PR_BOT_GITHUB_USERNAME }}"
git config --global user.signingkey "${{ steps.tag_gpg.outputs.fingerprint }}"
git tag -s ${{ steps.release.outputs.version }} -m "Github Release"
git push --tags
Expand Down Expand Up @@ -85,10 +78,17 @@ jobs:
- run: go mod download

- name: Import GPG Key For Terraform
id: release_gpg
uses: hashicorp/ghaction-import-gpg@78437f97569a473e42b227be84d4084c2dfb49ba # v2.1.0
env:
GPG_PRIVATE_KEY: ${{ secrets.RELEASE_GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.RELEASE_GPG_PASSPHRASE }}

- uses: goreleaser/goreleaser-action@68acf3b1adf004ac9c2f0a4259e85c5f66e99bef # v2.9.1
with:
version: latest
args: release --rm-dist
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
GPG_FINGERPRINT: ${{ steps.release_gpg.outputs.fingerprint }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion internal/provider/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package provider
// for release automation to work

const (
version = "0.62.0"
version = "0.63.0"
baseURL = "https://github.com/ockam-network/ockam/releases/download/ockam_v%s/ockam.%s-%s"
binary = "ockam-v" + version
arm64 = "arm64"
Expand Down

0 comments on commit 00669c8

Please sign in to comment.