diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b73de3..8bcddbc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,19 +60,22 @@ jobs: docker push "ghcr.io/${{ github.repository }}:${{ secrets.MAJOR }}.${{ secrets.MINOR }}" && \ docker push "ghcr.io/${{ github.repository }}:latest" - bump: + release: needs: build runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@v3 - - name: Create a Release - uses: elgohr/Github-Release-Action@v4 + name: Create a release + uses: kroese/github-release@v4 env: GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} with: - args: "${{ secrets.MAJOR }}.${{ secrets.MINOR }}" - title: Release v${{ secrets.MAJOR }}.${{ secrets.MINOR }} + tag: "v${{ secrets.MAJOR }}.${{ secrets.MINOR }}" + title: "v${{ secrets.MAJOR }}.${{ secrets.MINOR }}" + body: "Release v${{ secrets.MAJOR }}.${{ secrets.MINOR }}" - name: Update minor version uses: hmanzur/actions-set-secret@v2.0.0 diff --git a/run/install.sh b/run/install.sh index a4f7e0c..b41dcc1 100644 --- a/run/install.sh +++ b/run/install.sh @@ -28,4 +28,3 @@ fi FILE="$STORAGE/boot.img" mv -f "$TMP" "$FILE" -#trigger