Skip to content

Commit

Permalink
chore(Build): Improved release process
Browse files Browse the repository at this point in the history
  • Loading branch information
seebeen committed Apr 22, 2024
1 parent af831ba commit dcb3cba
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7,453 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,24 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.OBLAK_BOT_TOKEN }}
- name: Import GPG key
- name: Import GPG keys
uses: crazy-max/ghaction-import-gpg@v6
id: gpg
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_config_global: true
git_user_signingkey: true
git_commit_gpgsign: true
- name: Setup Node.js
uses: actions/setup-node@v4
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
with:
node-version: 18
cache: npm
- name: Install NPM dependencies
run: npm install
- name: Release
extra_plugins: |
@semantic-release/github
@semantic-release/exec
env:
GIT_AUTHOR_NAME: "oblakbot"
GIT_AUTHOR_EMAIL: "[email protected]"
GIT_COMMITTER_NAME: "oblakbot"
GIT_COMMITTER_EMAIL: "[email protected]"
GIT_AUTHOR_NAME: ${{ steps.gpg.outputs.name}}
GIT_AUTHOR_EMAIL: ${{ steps.gpg.outputs.email}}
GIT_COMMITTER_NAME: ${{ steps.gpg.outputs.name}}
GIT_COMMITTER_EMAIL: ${{ steps.gpg.outputs.email}}
GITHUB_TOKEN: ${{ secrets.OBLAK_BOT_TOKEN }}
run: yarn semantic-release
Loading

0 comments on commit dcb3cba

Please sign in to comment.