Skip to content

Commit

Permalink
fix: Fix version.
Browse files Browse the repository at this point in the history
  • Loading branch information
GSMLG-BOT committed Apr 18, 2024
1 parent 8d7022d commit 1f5d48d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ plugins:
"publishCmd": |
echo pubhlish gsmlg-cli ${nextRelease.version} ${nextRelease.type}
echo "${nextRelease.notes}"
major=$(echo ${nextRelease.version} | cut -d '.' -f 1)
minor=$(echo ${nextRelease.version} | cut -d '.' -f 2)
patch=$(echo ${nextRelease.version} | cut -d '.' -f 3)
echo "new_release_version=${nextRelease.version}" >> $GITHUB_OUTPUT
echo "new_release_type=${nextRelease.type}" >> $GITHUB_OUTPUT
echo "new_release_major_version=$(echo ${nextRelease.version} | cut -d '.' -f 1)" >> $GITHUB_OUTPUT
echo "new_release_minor_version=$(echo ${nextRelease.version} | cut -d '.' -f 2)" >> $GITHUB_OUTPUT
echo "new_release_patch_version=$(echo ${nextRelease.version} | cut -d '.' -f 3)" >> $GITHUB_OUTPUT
echo "new_release_major_version=$major" >> $GITHUB_OUTPUT
echo "new_release_minor_version=$minor" >> $GITHUB_OUTPUT
echo "new_release_patch_version=$patch" >> $GITHUB_OUTPUT
echo "new_release_channel=${nextRelease.channel}" >> $GITHUB_OUTPUT
echo "new_release_notes=${nextRelease.notes}" >> $GITHUB_OUTPUT
branches:
Expand Down

0 comments on commit 1f5d48d

Please sign in to comment.