using packagr app for version bumping while still keeping branch rest… (#56)
This commit is contained in:
parent
668bccebbd
commit
d6a6654681
|
@ -21,6 +21,12 @@ jobs:
|
|||
env:
|
||||
STATIC: true
|
||||
steps:
|
||||
- name: Get Packagr Token
|
||||
id: packagr-token
|
||||
uses: getsentry/action-github-app-token@v2
|
||||
with:
|
||||
app_id: ${{ secrets.PACKAGR_APP_ID }}
|
||||
private_key: ${{ secrets.PACKAGR_APP_PRIVATE_KEY }}
|
||||
- name: Git
|
||||
run: |
|
||||
apt-get update && apt-get install -y software-properties-common
|
||||
|
@ -37,7 +43,7 @@ jobs:
|
|||
version_bump_type: ${{ github.event.inputs.version_bump_type }}
|
||||
version_metadata_path: ${{ github.event.inputs.version_metadata_path }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ steps.packagr-token.outputs.token }}
|
||||
# - name: Test
|
||||
# run: |
|
||||
# make test
|
||||
|
@ -45,7 +51,7 @@ jobs:
|
|||
id: commit
|
||||
uses: packagrio/action-releasr-go@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged
|
||||
GITHUB_TOKEN: ${{ steps.packagr-token.outputs.token }}
|
||||
with:
|
||||
version_metadata_path: ${{ github.event.inputs.version_metadata_path }}
|
||||
- name: Publish Release & Assets
|
||||
|
@ -53,7 +59,7 @@ jobs:
|
|||
uses: packagrio/action-publishr-go@master
|
||||
env:
|
||||
# This is necessary in order to push a commit to the repo
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged
|
||||
GITHUB_TOKEN: ${{ steps.packagr-token.outputs.token }}
|
||||
with:
|
||||
version_metadata_path: ${{ github.event.inputs.version_metadata_path }}
|
||||
|
||||
|
|
|
@ -2,4 +2,4 @@ package version
|
|||
|
||||
// VERSION is the app-global version string, which will be replaced with a
|
||||
// new value during packaging
|
||||
const VERSION = "0.0.6"
|
||||
const VERSION = "0.0.7"
|
||||
|
|
Loading…
Reference in New Issue