bens-hello-world 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/manual-release.yml +7 -7
- data/Gemfile.lock +1 -1
- data/lib/bens/hello/world/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '07486b7eb9c691968fa58ec00495ad337cb171b7da0cfc037f5a5c9afdbe74e8'
|
4
|
+
data.tar.gz: e0805dd10a7a53ce73820f834ca646f12a51fbcbe18ff8999d3d9875f95a283d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2d60bcd8458c167888ece21c503921fb6a5b7b727dce16e3444fb613a51c8e658cbcd9c44d2f75796408d19eedf454ea12f9d5875686b7f1a7f185db090f7d6
|
7
|
+
data.tar.gz: 59a5f1f91907d21806fba863b0c43e7cb4cd182a9e30eb66e48e0fb0c5717a7c0d375814f531dce7655d68314f1904f6e6df92eba4597c9623febd003940eea6
|
@@ -7,6 +7,8 @@ on:
|
|
7
7
|
jobs:
|
8
8
|
manual-release:
|
9
9
|
runs-on: ubuntu-latest
|
10
|
+
env:
|
11
|
+
VERSION: $(sed -nr "s/.*VERSION\s*=\s*('|\")([^'\"]+).*$/\2/p" $(echo "$GITHUB_WORKSPACE/lib/bens/hello/world/version.rb"))
|
10
12
|
steps:
|
11
13
|
|
12
14
|
- uses: actions/checkout@v2
|
@@ -31,20 +33,18 @@ jobs:
|
|
31
33
|
# if yours isn't named RUBYGEMS_AUTH_TOKEN
|
32
34
|
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
33
35
|
|
34
|
-
|
35
36
|
# now, after the gem has been successfully published
|
36
37
|
# we would need to automatically tag based on the current commit
|
37
38
|
# ideally we would read the version in the gem file and commit that.
|
38
39
|
|
39
40
|
## We wanna use this one for pagy
|
40
41
|
# echo "::set-output name=version::$(sed -nr "s/.*VERSION\s*=\s*('|\")([^'\"]+).*$/\2/p" $(echo "$GITHUB_WORKSPACE/lib/pagy.rb"))"
|
41
|
-
- name: Get version number
|
42
|
-
id: version
|
43
|
-
run: |
|
44
|
-
echo "::set-output name=version::$(sed -nr "s/.*VERSION\s*=\s*('|\")([^'\"]+).*$/\2/p" $(echo "$GITHUB_WORKSPACE/lib/bens/hello/world/version.rb"))"
|
45
42
|
|
43
|
+
# - name: Get version number
|
44
|
+
# id: version
|
45
|
+
# run: |
|
46
|
+
# echo "::set-output name=version::$(sed -nr "s/.*VERSION\s*=\s*('|\")([^'\"]+).*$/\2/p" $(echo "$GITHUB_WORKSPACE/lib/bens/hello/world/version.rb"))"
|
46
47
|
|
47
|
-
|
48
48
|
- name: Create tag
|
49
49
|
uses: actions/github-script@v3
|
50
50
|
with:
|
@@ -53,7 +53,7 @@ jobs:
|
|
53
53
|
github.git.createRef({
|
54
54
|
owner: context.repo.owner,
|
55
55
|
repo: context.repo.repo,
|
56
|
-
ref: `refs/tags/${{
|
56
|
+
ref: `refs/tags/${{env.VERSION}}`,
|
57
57
|
sha: context.sha
|
58
58
|
})
|
59
59
|
|
data/Gemfile.lock
CHANGED