-
Notifications
You must be signed in to change notification settings - Fork 378
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: merge main to release (pull request #7175)
ci: merge main to release
- Loading branch information
Showing
30 changed files
with
2,191 additions
and
441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,19 +62,30 @@ jobs: | |
fetch-depth: 1 | ||
fetch-tags: false | ||
|
||
- name: Get Next Version | ||
- name: Get Next Version (Prod) | ||
if: ${{ github.ref_name == 'release' }} | ||
id: semver | ||
uses: ietf-tools/semver-action@v1 | ||
with: | ||
token: ${{ github.token }} | ||
branch: release | ||
skipInvalidTags: true | ||
|
||
- name: Set Next Version Env Var | ||
|
||
- name: Get Dev Version | ||
if: ${{ github.ref_name != 'release' }} | ||
id: semverdev | ||
uses: ietf-tools/semver-action@v1 | ||
with: | ||
token: ${{ github.token }} | ||
branch: release | ||
skipInvalidTags: true | ||
noVersionBumpBehavior: 'current' | ||
noNewCommitBehavior: 'current' | ||
|
||
- name: Set Release Flag | ||
if: ${{ github.ref_name == 'release' }} | ||
run: | | ||
echo "NEXT_VERSION=$nextStrict" >> $GITHUB_ENV | ||
echo "IS_RELEASE=true" >> $GITHUB_ENV | ||
- name: Create Draft Release | ||
uses: ncipollo/[email protected] | ||
|
@@ -83,24 +94,24 @@ jobs: | |
prerelease: true | ||
draft: false | ||
commit: ${{ github.sha }} | ||
tag: ${{ env.NEXT_VERSION }} | ||
name: ${{ env.NEXT_VERSION }} | ||
tag: ${{ steps.semver.outputs.nextStrict }} | ||
name: ${{ steps.semver.outputs.nextStrict }} | ||
body: '*pending*' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Set Build Variables | ||
id: buildvars | ||
run: | | ||
if [[ $NEXT_VERSION ]]; then | ||
echo "Using AUTO SEMVER mode: $NEXT_VERSION" | ||
if [[ $IS_RELEASE ]]; then | ||
echo "Using AUTO SEMVER mode: ${{ steps.semver.outputs.nextStrict }}" | ||
echo "should_deploy=true" >> $GITHUB_OUTPUT | ||
echo "pkg_version=$NEXT_VERSION" >> $GITHUB_OUTPUT | ||
echo "::notice::Release $NEXT_VERSION created using branch $GITHUB_REF_NAME" | ||
echo "pkg_version=${{ steps.semver.outputs.nextStrict }}" >> $GITHUB_OUTPUT | ||
echo "::notice::Release ${{ steps.semver.outputs.nextStrict }} created using branch $GITHUB_REF_NAME" | ||
else | ||
echo "Using TEST mode: 11.0.0-dev.$GITHUB_RUN_NUMBER" | ||
echo "Using TEST mode: ${{ steps.semverdev.outputs.nextMajorStrict }}.0.0-dev.$GITHUB_RUN_NUMBER" | ||
echo "should_deploy=false" >> $GITHUB_OUTPUT | ||
echo "pkg_version=11.0.0-dev.$GITHUB_RUN_NUMBER" >> $GITHUB_OUTPUT | ||
echo "::notice::Non-production build 11.0.0-dev.$GITHUB_RUN_NUMBER created using branch $GITHUB_REF_NAME" | ||
echo "pkg_version=${{ steps.semverdev.outputs.nextMajorStrict }}.0.0-dev.$GITHUB_RUN_NUMBER" >> $GITHUB_OUTPUT | ||
echo "::notice::Non-production build ${{ steps.semverdev.outputs.nextMajorStrict }}.0.0-dev.$GITHUB_RUN_NUMBER created using branch $GITHUB_REF_NAME" | ||
fi | ||
# ----------------------------------------------------------------- | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file renamed
BIN
+820 KB
...pm-1.0.30001593-bb646b1090-3e2b190755.zip → ...pm-1.0.30001597-1e349680d5-ec6a2cf0fd.zip
Binary file not shown.
Binary file renamed
BIN
+12.3 MB
...arts-npm-11.3.0-d9aa04531f-6511a004f7.zip → ...arts-npm-11.4.0-8a1f46b545-873e661914.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.