Loading .github/workflows/build.yml +7 −5 Original line number Diff line number Diff line Loading @@ -8,6 +8,8 @@ on: - '**/*.md' - '.gitignore' - '.dockerignore' env: vers: v${{ secrets.MAJOR }}.${{ secrets.MINOR }} jobs: shellcheck: Loading Loading @@ -71,9 +73,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} with: xtag: "v1.98" title: "v${{ vars.MAJOR }}.${{ secrets.MINOR }}" xbody: "Release v1.98" tag: "$vers" title: "$vers" body: "Release $vers" bump: needs: release Loading @@ -82,13 +84,13 @@ jobs: - name: Autoincrement minor version run: | echo "NEW_MINOR_VERSION=$((${{ secrets.MINOR }}+1))" >> $GITHUB_ENV echo "NEW_MINOR=$((${{ secrets.MINOR }}+1))" >> $GITHUB_ENV - name: Update minor version uses: hmanzur/actions-set-secret@v2.0.0 with: name: 'MINOR' value: ${{ env.NEW_MINOR_VERSION }} value: ${{ env.NEW_MINOR }} repository: ${{ github.repository }} token: ${{ secrets.REPO_ACCESS_TOKEN }} Loading Loading
.github/workflows/build.yml +7 −5 Original line number Diff line number Diff line Loading @@ -8,6 +8,8 @@ on: - '**/*.md' - '.gitignore' - '.dockerignore' env: vers: v${{ secrets.MAJOR }}.${{ secrets.MINOR }} jobs: shellcheck: Loading Loading @@ -71,9 +73,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} with: xtag: "v1.98" title: "v${{ vars.MAJOR }}.${{ secrets.MINOR }}" xbody: "Release v1.98" tag: "$vers" title: "$vers" body: "Release $vers" bump: needs: release Loading @@ -82,13 +84,13 @@ jobs: - name: Autoincrement minor version run: | echo "NEW_MINOR_VERSION=$((${{ secrets.MINOR }}+1))" >> $GITHUB_ENV echo "NEW_MINOR=$((${{ secrets.MINOR }}+1))" >> $GITHUB_ENV - name: Update minor version uses: hmanzur/actions-set-secret@v2.0.0 with: name: 'MINOR' value: ${{ env.NEW_MINOR_VERSION }} value: ${{ env.NEW_MINOR }} repository: ${{ github.repository }} token: ${{ secrets.REPO_ACCESS_TOKEN }} Loading