Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
eaa0e7c1
Unverified
Commit
eaa0e7c1
authored
Dec 07, 2023
by
Jiachi Liu
Committed by
GitHub
Dec 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip latest commit check for stable release (#59383)
parent
77dc7638
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
trigger_release.yml
.github/workflows/trigger_release.yml
+9
-9
No files found.
.github/workflows/trigger_release.yml
View file @
eaa0e7c1
...
@@ -54,15 +54,15 @@ jobs:
...
@@ -54,15 +54,15 @@ jobs:
-
name
:
Get commit of the latest tag
-
name
:
Get commit of the latest tag
run
:
echo "LATEST_TAG_COMMIT=$(git rev-list -n 1 $(git describe --tags --abbrev=0))" >> $GITHUB_ENV
run
:
echo "LATEST_TAG_COMMIT=$(git rev-list -n 1 $(git describe --tags --abbrev=0))" >> $GITHUB_ENV
-
name
:
Get latest commit
#
- name: Get latest commit
run
:
echo "LATEST_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
#
run: echo "LATEST_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
-
name
:
Check if new commits since last tag
#
- name: Check if new commits since last tag
run
:
|
#
run: |
if [ "$LATEST_TAG_COMMIT" = "$LATEST_COMMIT" ]; then
#
if [ "$LATEST_TAG_COMMIT" = "$LATEST_COMMIT" ]; then
echo "No new commits. Exiting..."
#
echo "No new commits. Exiting..."
exit 1
#
exit 1
fi
#
fi
# https://github.com/actions/virtual-environments/issues/1187
# https://github.com/actions/virtual-environments/issues/1187
-
name
:
tune linux network
-
name
:
tune linux network
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment