diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index ad07ceccf..7ca429143 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -19,6 +19,7 @@ jobs: uses: actions/checkout@v4 with: token: ${{ secrets.PAT }} + persist-credentials: true ref: "v2.1.x" - name: "RatOS: Get current version" @@ -28,7 +29,7 @@ jobs: version=$(cat ./src/version) echo "version=${version}" >> $GITHUB_OUTPUT - - name: "RatOS: Push version number" + - name: "RatOS: Add version file" if: steps.current-version.outputs.version != github.event.inputs.version shell: bash run: | @@ -41,7 +42,8 @@ jobs: default_author: github_actions message: "Bump version to v${{ github.event.inputs.version }}" github_token: ${{ secrets.PAT }} - tag: "v${{ github.event.inputs.version }}" + tag: "v${{ github.event.inputs.version }} --force" + tag_push: "--force" push: true configurator-push-version-number: @@ -55,6 +57,7 @@ jobs: with: token: ${{ secrets.PAT }} repository: Rat-OS/RatOS-configurator + persist-credentials: true ref: "v2.1.x-deployment" - name: "RatOS Configurator: git add & commit & tag & push" @@ -78,6 +81,7 @@ jobs: with: token: ${{ secrets.PAT }} repository: Rat-OS/RatOS-configuration + persist-credentials: true ref: "v2.1.x" - name: "RatOS-configuration: git add & commit & tag & push" @@ -101,6 +105,7 @@ jobs: with: token: ${{ secrets.PAT }} repository: Rat-OS/RatOS-theme + persist-credentials: true ref: "v2.1.x" - name: "RatOS-theme: git add & commit & tag & push"