From ab4a5058355fabc1c14cf163954dfb65c465d01f Mon Sep 17 00:00:00 2001 From: Gimmy Date: Mon, 17 Mar 2025 13:18:39 +0200 Subject: [PATCH 1/3] remove deprecated svu flag --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 0fc9484..1c449c6 100644 --- a/makefile +++ b/makefile @@ -30,7 +30,7 @@ build: .PHONY: bump-version bump-version: @echo -e "$(ATTN_COLOR)==> $@ $(NO_COLOR)" - @${EXT_BIN_DIR}/svu patch --prefix="" > ./VERSION + @${EXT_BIN_DIR}/svu patch > ./VERSION .PHONY: push push: From eee2129afabb821e9d460f1c22d2792bd20a0909 Mon Sep 17 00:00:00 2001 From: Gimmy Date: Mon, 17 Mar 2025 13:21:41 +0200 Subject: [PATCH 2/3] update release --- .github/workflows/ci.yaml | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9b79046..04c8244 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -51,7 +51,8 @@ jobs: name: Release to rubygems steps: - - name: Read Configuration + - + name: Read Configuration uses: hashicorp/vault-action@v3 id: vault with: @@ -59,28 +60,36 @@ jobs: token: ${{ secrets.VAULT_TOKEN }} secrets: | kv/data/rubygems "RUBYGEMS_API_KEY" | GEM_HOST_API_KEY; - - - name: Checkout + kv/data/github "USERNAME" | GH_USERNAME; + kv/data/github "READ_WRITE_TOKEN" | GH_TOKEN; + - + uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: ${{ vars.CODEGEN_APP_ID }} + private-key: ${{ secrets.CODEGEN_APP_KEY }} + - + name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - - - - name: Install dependencies + token: ${{ steps.app-token.outputs.token }} + - + name: Install dependencies run: make deps - - - name: Set up Ruby + - + name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: 3.3 - - - name: Build and push the gem + - + name: Build and push the gem run: make release - - - name: Bump to the next version + - + name: Bump to the next version run: make bump-version - - - name: Commit changes + - + name: Commit changes uses: EndBug/add-and-commit@v9 with: default_author: github_actions From 7f2c8d6119ae8d75b01767ccdf524d242d2bda29 Mon Sep 17 00:00:00 2001 From: Gimmy Date: Mon, 17 Mar 2025 13:22:17 +0200 Subject: [PATCH 3/3] update version --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index a8a0217..46214d1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.31.4 +0.31.6