Skip to content

Commit

Permalink
fix(ref: 1440): add version lib version to slack
Browse files Browse the repository at this point in the history
  • Loading branch information
andriikamaldinov1 committed Nov 1, 2024
1 parent 8b72978 commit b9ad399
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ jobs:
"text": "Project: `${{ github.event.repository.name }}`"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Version: `${{ needs.build.outputs.version || 'TBA' }}`"
}
},
{
"type": "section",
"text": {
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/quality-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@ jobs:
run: |
bun i
bash .github/workflows/scripts/quality.sh
- name: Extract version from package.json
id: extract_version
run: |
VERSION=$(jq -r '.version' < package.json)
echo "VERSION=$VERSION" >> $GITHUB_ENV
env:
VERSION: ${{ steps.extract_version.outputs.VERSION }}

0 comments on commit b9ad399

Please sign in to comment.