Skip to content

Commit

Permalink
chore: update CI for release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicchongwb committed Aug 21, 2024
1 parent f88d74e commit 0391a5b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-to-maven-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.JRELEASER_GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
message: Releasing version ${{ github.event.inputs.version }}

- name: Stage release
Expand All @@ -62,7 +62,7 @@ jobs:
setup-java: false
version: 1.13.1
env:
JRELEASER_GITHUB_TOKEN: ${{ secrets.JRELEASER_GITHUB_TOKEN }}
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JRELEASER_PROJECT_VERSION: ${{ github.event.inputs.version }}
JRELEASER_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.JRELEASER_GPG_PUBLIC_KEY }}
Expand All @@ -77,7 +77,7 @@ jobs:
- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.JRELEASER_GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
message: Setting SNAPSHOT version ${{ github.event.inputs.nextVersion }}-SNAPSHOT
tags: true

Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ build/
out/
.idea/
*.iml

# CI build artifacts
target/
pom.xml
jreleaser-cli.jar
JRELEASER_VERSION

0 comments on commit 0391a5b

Please sign in to comment.