We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5c3a00 commit b98ad4fCopy full SHA for b98ad4f
.github/workflows/dispatch-new-version-event.yml
@@ -4,6 +4,8 @@ on:
4
push:
5
branches:
6
- master
7
+ release:
8
+ types: [ published ]
9
jobs:
10
dispatch-new-version-event:
11
runs-on: ubuntu-latest
@@ -17,6 +19,9 @@ jobs:
17
19
git checkout HEAD~1
18
20
PREVIOUS_VERSION=$(node -p -e "require('./package.json').version")
21
22
+ echo "Previous version: $PREVIOUS_VERSION"
23
+ echo "Current version: $CURRENT_VERSION"
24
+
25
if [ "$CURRENT_VERSION" != "$PREVIOUS_VERSION" ]; then
26
curl -X POST https://api.github.com/repos/webex/widgets/dispatches \
27
-H 'Accept: application/vnd.github.everest-preview+json' \
0 commit comments