File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 10
10
steps :
11
11
- name : Create changelog
12
12
run : |
13
- echo "CHANGELOG_TEXT=$(npx conventional-changelog-cli@2.2.2 )" >> $GITHUB_ENV
13
+ echo "CHANGELOG_TEXT=$(npx conventional-changelog-cli -h -p angular -r 0 )" >> $GITHUB_ENV
14
14
15
15
- uses : actions/github-script@v6
16
16
with :
Original file line number Diff line number Diff line change 36
36
GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c1-7)
37
37
SEMVER_VERSION=$(npx find-versions-cli ${{ github.event.release.tag_name }})
38
38
echo "Semver experimental version $SEMVER_VERSION-$GITHUB_SHA_SHORT"
39
+ npm version --no-git-tag-version $SEMVER_VERSION-$GITHUB_SHA_SHORT --workspace=@ci-cd/abcd
40
+ npm run publish:abcd
39
41
40
42
publishlatestnpm :
41
43
name : Publish stable packages to NPM
53
55
echo "Semver stable version unclean $SEMVER_VERSION"
54
56
echo "Semver stable version valid $VALID_SEMVER_VERSION"
55
57
echo "CHANGELOG_TEXT=$(npx conventional-changelog-cli)" >> $GITHUB_ENV
58
+ npm version --no-git-tag-version $VALID_SEMVER_VERSION --workspace=@ci-cd/abcd
59
+ npm run publish:abcd
56
60
57
61
- uses : actions/github-script@v6
58
62
with :
You can’t perform that action at this time.
0 commit comments