pier_logging 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a2b1c76716abf96ce6ed1d392d3ac945a3565b05abb16f5400fd1f41a27e509
4
- data.tar.gz: 22ab7775f0c76d51075d566b7d8561c8ceed631693661ef6995669f03c51a809
3
+ metadata.gz: 7cd8debc41ab6c05cdcfc515c7957bfce06336425441cc90de2fc51acd7b34a5
4
+ data.tar.gz: e907e807c2106ecc27c2cf536057f2ebfac482b4efc2cea060a74aa61a6e221c
5
5
  SHA512:
6
- metadata.gz: 54864d9541a7aecb5e470d00b8938d3f1198ffb031ecb7057e2b4bcbe00bf5e3f5f7f953fa39f927071f4d26cf0f8a7c1c1d07f68c0bcee66edaf6700b7597e1
7
- data.tar.gz: 5a2230fcf76ac2e0563b9100f90f6841b0c97a1cf907b8e6e017fc65934f92201a1ef8cc64becbf309caf5efcf03a83fd3d5444263c74fe10c244c3e73b5d629
6
+ metadata.gz: 4a590e5c6520913771f893f1acf68ccc8d4079e95c28d69ef8a9f378702785d46fccd613c0354af3d13797fa3d7a708e6ecbfcd1583f79390463996c7780a271
7
+ data.tar.gz: 03a3831af1440e46c92ed9adfe3ed4ba66f453dbc142e3fcf1b46723907b4c51fe2801d4ec9f7f150fa7cb6fbba1585ebb032ae4c202f17eb9912981176abe87
@@ -18,21 +18,22 @@ jobs:
18
18
  version:
19
19
  - 'lib/pier_logging/version.rb'
20
20
  - name: Setup Ruby
21
- # if: steps.filter.outputs.version == 'true'
21
+ if: steps.filter.outputs.version == 'true'
22
22
  uses: ruby/setup-ruby@v1
23
23
  with:
24
24
  ruby-version: 2.7.1
25
25
  - name: Get version
26
- # if: steps.filter.outputs.version == 'true'
26
+ if: steps.filter.outputs.version == 'true'
27
27
  id: new_version
28
28
  run: echo "##[set-output name=version;]$(ruby ./bin/get_current_version.rb)"
29
29
  - name: Create tag
30
+ if: steps.filter.outputs.version == 'true'
30
31
  uses: tvdias/github-tagger@v0.0.1
31
32
  with:
32
33
  repo-token: "${{ secrets.GITHUB_TOKEN }}"
33
34
  tag: "${{ steps.new_version.outputs.version }}"
34
35
  - name: Create Release
35
- # if: steps.filter.outputs.version == 'true'
36
+ if: steps.filter.outputs.version == 'true'
36
37
  id: create_release
37
38
  uses: actions/create-release@v1
38
39
  env:
@@ -44,8 +45,22 @@ jobs:
44
45
  draft: false
45
46
  prerelease: false
46
47
  - name: Publish Gem
47
- # if: steps.filter.outputs.version == 'true'
48
+ if: steps.filter.outputs.version == 'true'
48
49
  env:
49
50
  VERSION: ${{ steps.new_version.outputs.version }}
50
51
  RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
51
52
  run: ruby ./bin/publish_gem.rb
53
+ - name: Notify deploy status to Slack
54
+ if: steps.filter.outputs.version == 'true'
55
+ env:
56
+ SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
57
+ STATUS: ${{ job.status }}
58
+ GH_MESSAGE: ${{ github.event.commits[0].message }}
59
+ GH_ACTOR: ${{ github.actor }}
60
+ GH_SHA: ${{ github.sha }}
61
+ GH_REPO: ${{ github.repository }}
62
+ APP_ENVIRONMENT: rubygems
63
+ SLACK_CHANNEL: CEBAD7R0F
64
+ LANGUAGE: "ruby" # "python", "nodejs"
65
+ DEPLOY_TARGET: ${{ github.event.repository.name }}
66
+ run: /bin/bash ./bin/notify_slack_github.sh
@@ -1,3 +1,3 @@
1
1
  module PierLogging
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pier_logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mauricio Banduk