Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
642826ba
Commit
642826ba
authored
4 years ago
by
Martin Pugh
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix check_runtime.sh (#2020)
parent
7d8eb5b2
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
polkadot/scripts/gitlab/check_runtime.sh
+5
-1
5 additions, 1 deletion
polkadot/scripts/gitlab/check_runtime.sh
with
5 additions
and
1 deletion
polkadot/scripts/gitlab/check_runtime.sh
+
5
−
1
View file @
642826ba
...
...
@@ -24,7 +24,10 @@ SUBSTRATE_REPO_CARGO="git\+${SUBSTRATE_REPO}"
SUBSTRATE_VERSIONS_FILE
=
"bin/node/runtime/src/lib.rs"
# figure out the latest release tag
LATEST_TAG
=
"
$(
git tag
-l
|
grep
-E
'^v[0-9]+\.[0-9]+\.[0-9]+$'
|
sort
-V
|
tail
-n
1
)
"
boldprint
"make sure we have all tags (including those from the release branch)"
git fetch
--depth
=
"
${
GIT_DEPTH
:-
100
}
"
origin release
git fetch
--depth
=
"
${
GIT_DEPTH
:-
100
}
"
origin
'refs/tags/*:refs/tags/*'
LATEST_TAG
=
"
$(
git tag
-l
|
grep
-E
'^v[0-9]+\.[0-9]+\.[0-9]+-?[0-9]*$'
|
sort
-V
|
tail
-n
1
)
"
boldprint
"latest release tag
${
LATEST_TAG
}
"
boldprint
"latest 10 commits of
${
CI_COMMIT_REF_NAME
}
"
...
...
@@ -33,6 +36,7 @@ git --no-pager log --graph --oneline --decorate=short -n 10
boldprint
"make sure the master branch is available in shallow clones"
git fetch
--depth
=
"
${
GIT_DEPTH
:-
100
}
"
origin master
runtimes
=(
"kusama"
"polkadot"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment