ci/cd - replace version string for testing release

This commit is contained in:
florian 2023-08-15 21:28:17 +02:00
parent cd825cd341
commit 758fc13c3d
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
3 changed files with 5 additions and 2 deletions

View File

@ -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: |

View File

@ -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"

View File

@ -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"