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 +4 -4
- data/.github/workflows/publish.yml +19 -4
- data/lib/pier_logging/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: 7cd8debc41ab6c05cdcfc515c7957bfce06336425441cc90de2fc51acd7b34a5
|
4
|
+
data.tar.gz: e907e807c2106ecc27c2cf536057f2ebfac482b4efc2cea060a74aa61a6e221c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
data/lib/pier_logging/version.rb
CHANGED