Skip to content

Commit

Permalink
Merge pull request #1040 from Infineon/1039-bugfix-sending-webex-noti…
Browse files Browse the repository at this point in the history
…faction

Bugfix: Version is null when sending webex notification
  • Loading branch information
verena-ifx authored Mar 11, 2024
2 parents a07ad1a + c587882 commit 0949d5f
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ on:
branches:
- master

env:
VERSION: ''

jobs:
stencil-library-release:
outputs:
VERSION: ${{ steps.build.outputs.VERSION }}
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')" # job will not run, if triggered via ship-it
steps:
Expand Down Expand Up @@ -39,6 +38,8 @@ jobs:
VERSION=$(auto shipit --dry-run --quiet)
echo "Publishing: $VERSION"
echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
echo "Set version as Github Env and Github Output: $VERSION"
echo "WEBEX_MESSAGE=New package release - Version: $VERSION" >> $GITHUB_ENV
auto shipit
Expand All @@ -50,6 +51,7 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "VERSION: $VERSION"
echo "Installing Stencil library for Angular, Vue and React: $VERSION"
lerna version $VERSION --no-git-tag-version --y
cd packages/components-angular/projects/component-library
Expand Down

0 comments on commit 0949d5f

Please sign in to comment.