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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd17bd0fd5bc207248da4ba24ea4ec5fbb8b0279db37c514c99fd713336f4fd1
4
- data.tar.gz: 9ef27e30dca496b969cefc42a814ece1a055ffd7db5bc520ab4febd250cd38fb
3
+ metadata.gz: '07486b7eb9c691968fa58ec00495ad337cb171b7da0cfc037f5a5c9afdbe74e8'
4
+ data.tar.gz: e0805dd10a7a53ce73820f834ca646f12a51fbcbe18ff8999d3d9875f95a283d
5
5
  SHA512:
6
- metadata.gz: 8fbae97d908860a3fefbd60ecf43ab9a835212db50a5488a95387df844676907c0e0f37c1606b29f12800d7c6a7a8f25071a069c5a91d90524ccf2263a495836
7
- data.tar.gz: 16bf68b6e789b7c0fff71f62dcfc65bb9f041d1386a968d6f5f72b54c268b0aad674c607b71f49761374320cd20ecb3e55a32703b31c0aba7992080906c024cb
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/${{steps.version.outputs.version}}`,
56
+ ref: `refs/tags/${{env.VERSION}}`,
57
57
  sha: context.sha
58
58
  })
59
59
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bens-hello-world (0.3.4)
4
+ bens-hello-world (0.3.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,7 +1,7 @@
1
1
  module Bens
2
2
  module Hello
3
3
  module World
4
- VERSION = "0.3.4"
4
+ VERSION = "0.3.5"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bens-hello-world
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - BK