Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
server
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
m-team
oidc
mytoken
server
Commits
90a9d609
Verified
Commit
90a9d609
authored
2 years ago
by
Gabriel Zachmann
Browse files
Options
Downloads
Patches
Plain Diff
[ci] debug
parent
f2e8c929
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#323164
failed
2 years ago
Stage: build
Stage: test
Stage: lint
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci-scripts/set-prerel-version.sh
+5
-4
5 additions, 4 deletions
.gitlab-ci-scripts/set-prerel-version.sh
with
5 additions
and
4 deletions
.gitlab-ci-scripts/set-prerel-version.sh
+
5
−
4
View file @
90a9d609
...
...
@@ -22,7 +22,10 @@ while [ $# -gt 0 ]; do
esac
done
echo
"
$CI
"
git config user.email
echo
"CI:
$CI
"
[
"x
${
CI
}
"
=
"xtrue"
]
&&
{
echo
"Setting up git in CI"
git config
--global
--add
safe.directory
"
$PWD
"
...
...
@@ -49,9 +52,7 @@ PR_VERSION="${VERSION}-${DEVSTRING}${PREREL}"
echo
"
$PR_VERSION
"
>
"
$VERSION_FILE
"
echo
"
$PR_VERSION
"
TILDE_VERSION
=
"
$(
echo
"
$PR_VERSION
"
|
sed
's/-/~/g'
)
"
echo
"
$PR_VERSION
"
>
"
$VERSION_FILE
"
git add
"
$VERSION_FILE
"
git commit
-m
"dummy prerel version"
git tag
"v
${
TILDE
_VERSION
}
"
git tag
"v
${
PR
_VERSION
}
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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