bens-hello-world 0.3.4 → 0.3.8

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: '078f1a968e22bfb68175483cd0afed6585a39af03406e986235a696d4ac43b5e'
4
+ data.tar.gz: b35a725ae9044c0632b5af9855ca51b2d87e82e6390e955bc67bcc659db28de8
5
5
  SHA512:
6
- metadata.gz: 8fbae97d908860a3fefbd60ecf43ab9a835212db50a5488a95387df844676907c0e0f37c1606b29f12800d7c6a7a8f25071a069c5a91d90524ccf2263a495836
7
- data.tar.gz: 16bf68b6e789b7c0fff71f62dcfc65bb9f041d1386a968d6f5f72b54c268b0aad674c607b71f49761374320cd20ecb3e55a32703b31c0aba7992080906c024cb
6
+ metadata.gz: fea128adfde7281df1f80f3da9dae34eb979506e73516386ea566275ae20a8c69258b178d614de513c78a4b0c98feb99c9a2e5cf401332fb4e79ec7152131600
7
+ data.tar.gz: 709b62c197f60c09471e451b2b0150a87ef10d0fccc7c7592109f28e0581317a609f06b130084120533e11f192205bae9d5888c7b07f75f8e6317b8180b7490a
@@ -7,6 +7,7 @@ on:
7
7
  jobs:
8
8
  manual-release:
9
9
  runs-on: ubuntu-latest
10
+
10
11
  steps:
11
12
 
12
13
  - uses: actions/checkout@v2
@@ -31,20 +32,18 @@ jobs:
31
32
  # if yours isn't named RUBYGEMS_AUTH_TOKEN
32
33
  GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
33
34
 
34
-
35
35
  # now, after the gem has been successfully published
36
36
  # we would need to automatically tag based on the current commit
37
37
  # ideally we would read the version in the gem file and commit that.
38
38
 
39
39
  ## We wanna use this one for pagy
40
40
  # 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
41
 
42
+ # - name: Get version number
43
+ # id: version
44
+ # run: |
45
+ # echo "::set-output name=version::$(sed -nr "s/.*VERSION\s*=\s*('|\")([^'\"]+).*$/\2/p" $(echo "$GITHUB_WORKSPACE/lib/bens/hello/world/version.rb"))"
46
46
 
47
-
48
47
  - name: Create tag
49
48
  uses: actions/github-script@v3
50
49
  with:
@@ -53,8 +52,8 @@ jobs:
53
52
  github.git.createRef({
54
53
  owner: context.repo.owner,
55
54
  repo: context.repo.repo,
56
- ref: `refs/tags/${{steps.version.outputs.version}}`,
55
+ ref: "refs/tags/".concat(${{env.VERSION}}),
57
56
  sha: context.sha
58
57
  })
59
-
60
-
58
+ env:
59
+ VERSION: echo $(sed -nr "s/.*VERSION\s*=\s*('|\")([^'\"]+).*$/\2/p" $(echo "$GITHUB_WORKSPACE/lib/bens/hello/world/version.rb"))
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.8)
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.8"
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.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - BK
@@ -18,7 +18,6 @@ executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
- - ".github/workflows/main.yml"
22
21
  - ".github/workflows/manual-release.yml"
23
22
  - ".github/workflows/release.yml"
24
23
  - ".gitignore"
@@ -1,18 +0,0 @@
1
- name: Ruby
2
-
3
- on: [push,pull_request]
4
-
5
- jobs:
6
- build:
7
- runs-on: ubuntu-latest
8
- steps:
9
- - uses: actions/checkout@v2
10
- - name: Set up Ruby
11
- uses: ruby/setup-ruby@v1
12
- with:
13
- ruby-version: 3.0.0
14
- - name: Run the default task
15
- run: |
16
- gem install bundler -v 2.2.7
17
- bundle install
18
- bundle exec rake