ci/cd - replace version string for testing release
This commit is contained in:
parent
cd825cd341
commit
758fc13c3d
|
@ -52,7 +52,7 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
- name: Replace VERSION
|
||||
if: inputs.RELEASE == 'testing'
|
||||
run: echo -n testing > VERSION && echo -n testing > src/VERSION
|
||||
run: ./misc/update-version.sh testing
|
||||
- name: Setup SSH for ARM node
|
||||
if: inputs.CACHE_SUFFIX == 'arm'
|
||||
run: |
|
||||
|
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
- name: Replace VERSION
|
||||
if: inputs.RELEASE == 'testing'
|
||||
run: echo -n testing > VERSION && echo -n testing > src/VERSION
|
||||
run: ./misc/update-version.sh testing
|
||||
- name: Extract arch
|
||||
run : |
|
||||
echo "ARCH=${{ env.PLATFORMS }}" | sed 's/linux//g' | sed 's@/@@g' >> "$GITHUB_ENV"
|
||||
|
|
|
@ -22,6 +22,9 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.BUNKERBOT_TOKEN }}
|
||||
- name: Replace VERSION
|
||||
if: inputs.VERSION == 'testing'
|
||||
run: ./misc/update-version.sh testing
|
||||
- name: Setup git user
|
||||
run: |
|
||||
git config --global user.name "BunkerBot"
|
||||
|
|
Loading…
Reference in New Issue