diff --git a/.github/workflows/container-build.yml b/.github/workflows/container-build.yml index d6c66b1e8..e9c843f96 100644 --- a/.github/workflows/container-build.yml +++ b/.github/workflows/container-build.yml @@ -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: | diff --git a/.github/workflows/linux-build.yml b/.github/workflows/linux-build.yml index a64d20eaf..ef3feb41c 100644 --- a/.github/workflows/linux-build.yml +++ b/.github/workflows/linux-build.yml @@ -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" diff --git a/.github/workflows/push-doc.yml b/.github/workflows/push-doc.yml index c5802149c..360b37881 100644 --- a/.github/workflows/push-doc.yml +++ b/.github/workflows/push-doc.yml @@ -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"