bens-hello-world 0.3.3 → 0.3.4
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 +10 -4
- 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: dd17bd0fd5bc207248da4ba24ea4ec5fbb8b0279db37c514c99fd713336f4fd1
|
4
|
+
data.tar.gz: 9ef27e30dca496b969cefc42a814ece1a055ffd7db5bc520ab4febd250cd38fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fbae97d908860a3fefbd60ecf43ab9a835212db50a5488a95387df844676907c0e0f37c1606b29f12800d7c6a7a8f25071a069c5a91d90524ccf2263a495836
|
7
|
+
data.tar.gz: 16bf68b6e789b7c0fff71f62dcfc65bb9f041d1386a968d6f5f72b54c268b0aad674c607b71f49761374320cd20ecb3e55a32703b31c0aba7992080906c024cb
|
@@ -17,6 +17,7 @@ jobs:
|
|
17
17
|
ruby-version: 3.0.0
|
18
18
|
- run: bundle install
|
19
19
|
|
20
|
+
|
20
21
|
- name: publish gem
|
21
22
|
run: |
|
22
23
|
mkdir -p $HOME/.gem
|
@@ -33,11 +34,16 @@ jobs:
|
|
33
34
|
|
34
35
|
# now, after the gem has been successfully published
|
35
36
|
# we would need to automatically tag based on the current commit
|
36
|
-
# ideally we would read the version in the gem file and commit that.
|
37
|
+
# ideally we would read the version in the gem file and commit that.
|
38
|
+
|
39
|
+
## We wanna use this one for pagy
|
40
|
+
# echo "::set-output name=version::$(sed -nr "s/.*VERSION\s*=\s*('|\")([^'\"]+).*$/\2/p" $(echo "$GITHUB_WORKSPACE/lib/pagy.rb"))"
|
37
41
|
- name: Get version number
|
38
42
|
id: version
|
39
|
-
run: |
|
40
|
-
echo "::set-output 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
|
+
|
46
|
+
|
41
47
|
|
42
48
|
- name: Create tag
|
43
49
|
uses: actions/github-script@v3
|
@@ -47,7 +53,7 @@ jobs:
|
|
47
53
|
github.git.createRef({
|
48
54
|
owner: context.repo.owner,
|
49
55
|
repo: context.repo.repo,
|
50
|
-
ref:
|
56
|
+
ref: `refs/tags/${{steps.version.outputs.version}}`,
|
51
57
|
sha: context.sha
|
52
58
|
})
|
53
59
|
|
data/Gemfile.lock
CHANGED