From f4aa02f250a69ac9d9ed7edcb959da8295e3f83f Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 29 Apr 2023 04:13:54 +0200 Subject: [PATCH 1/4] Automatic release --- .github/workflows/build.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b73de3..da5ec6f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,19 +60,21 @@ 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: "${{ secrets.MAJOR }}.${{ secrets.MINOR }}" + title: "Release v${{ secrets.MAJOR }}.${{ secrets.MINOR }}" - name: Update minor version uses: hmanzur/actions-set-secret@v2.0.0 From e037bff62c5a2dc28a5fb3b24e317fd195716bbd Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 29 Apr 2023 04:54:53 +0200 Subject: [PATCH 2/4] Automatic release --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index da5ec6f..acf6069 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -73,7 +73,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} with: - tag: "${{ secrets.MAJOR }}.${{ secrets.MINOR }}" + tag: "v${{ secrets.MAJOR }}.${{ secrets.MINOR }}" title: "Release v${{ secrets.MAJOR }}.${{ secrets.MINOR }}" - name: Update minor version From 55c64775a18b964774e8e797b05a38f880557471 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 29 Apr 2023 05:44:51 +0200 Subject: [PATCH 3/4] Automatic releases --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index acf6069..8bcddbc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,7 +74,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} with: tag: "v${{ secrets.MAJOR }}.${{ secrets.MINOR }}" - title: "Release 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 From e7458df92c8702fee6dd647696275f275fd0f62f Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 29 Apr 2023 05:45:33 +0200 Subject: [PATCH 4/4] Trigger --- run/install.sh | 1 - 1 file changed, 1 deletion(-) 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