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:
|
env:
|
||||||
STATIC: true
|
STATIC: true
|
||||||
steps:
|
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
|
- name: Git
|
||||||
run: |
|
run: |
|
||||||
apt-get update && apt-get install -y software-properties-common
|
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_bump_type: ${{ github.event.inputs.version_bump_type }}
|
||||||
version_metadata_path: ${{ github.event.inputs.version_metadata_path }}
|
version_metadata_path: ${{ github.event.inputs.version_metadata_path }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ steps.packagr-token.outputs.token }}
|
||||||
# - name: Test
|
# - name: Test
|
||||||
# run: |
|
# run: |
|
||||||
# make test
|
# make test
|
||||||
|
@ -45,7 +51,7 @@ jobs:
|
||||||
id: commit
|
id: commit
|
||||||
uses: packagrio/action-releasr-go@master
|
uses: packagrio/action-releasr-go@master
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged
|
GITHUB_TOKEN: ${{ steps.packagr-token.outputs.token }}
|
||||||
with:
|
with:
|
||||||
version_metadata_path: ${{ github.event.inputs.version_metadata_path }}
|
version_metadata_path: ${{ github.event.inputs.version_metadata_path }}
|
||||||
- name: Publish Release & Assets
|
- name: Publish Release & Assets
|
||||||
|
@ -53,7 +59,7 @@ jobs:
|
||||||
uses: packagrio/action-publishr-go@master
|
uses: packagrio/action-publishr-go@master
|
||||||
env:
|
env:
|
||||||
# This is necessary in order to push a commit to the repo
|
# 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:
|
with:
|
||||||
version_metadata_path: ${{ github.event.inputs.version_metadata_path }}
|
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
|
// VERSION is the app-global version string, which will be replaced with a
|
||||||
// new value during packaging
|
// new value during packaging
|
||||||
const VERSION = "0.0.6"
|
const VERSION = "0.0.7"
|
||||||
|
|
Loading…
Reference in New Issue