Skip to content

Commit f9224fa

Browse files
authored
remove deprecated svu flag (#35)
* remove deprecated svu flag * update release * update version
1 parent fd5ed1b commit f9224fa

3 files changed

Lines changed: 25 additions & 16 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -51,36 +51,45 @@ jobs:
5151

5252
name: Release to rubygems
5353
steps:
54-
- name: Read Configuration
54+
-
55+
name: Read Configuration
5556
uses: hashicorp/vault-action@v3
5657
id: vault
5758
with:
5859
url: ${{ env.VAULT_ADDR }}
5960
token: ${{ secrets.VAULT_TOKEN }}
6061
secrets: |
6162
kv/data/rubygems "RUBYGEMS_API_KEY" | GEM_HOST_API_KEY;
62-
63-
- name: Checkout
63+
kv/data/github "USERNAME" | GH_USERNAME;
64+
kv/data/github "READ_WRITE_TOKEN" | GH_TOKEN;
65+
-
66+
uses: actions/create-github-app-token@v1
67+
id: app-token
68+
with:
69+
app-id: ${{ vars.CODEGEN_APP_ID }}
70+
private-key: ${{ secrets.CODEGEN_APP_KEY }}
71+
-
72+
name: Checkout
6473
uses: actions/checkout@v4
6574
with:
6675
fetch-depth: 0
67-
68-
69-
- name: Install dependencies
76+
token: ${{ steps.app-token.outputs.token }}
77+
-
78+
name: Install dependencies
7079
run: make deps
71-
72-
- name: Set up Ruby
80+
-
81+
name: Set up Ruby
7382
uses: ruby/setup-ruby@v1
7483
with:
7584
ruby-version: 3.3
76-
77-
- name: Build and push the gem
85+
-
86+
name: Build and push the gem
7887
run: make release
79-
80-
- name: Bump to the next version
88+
-
89+
name: Bump to the next version
8190
run: make bump-version
82-
83-
- name: Commit changes
91+
-
92+
name: Commit changes
8493
uses: EndBug/add-and-commit@v9
8594
with:
8695
default_author: github_actions

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.31.4
1+
0.31.6

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ build:
3030
.PHONY: bump-version
3131
bump-version:
3232
@echo -e "$(ATTN_COLOR)==> $@ $(NO_COLOR)"
33-
@${EXT_BIN_DIR}/svu patch --prefix="" > ./VERSION
33+
@${EXT_BIN_DIR}/svu patch > ./VERSION
3434

3535
.PHONY: push
3636
push:

0 commit comments

Comments
 (0)