Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenTofu
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container 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
components
OpenTofu
Commits
e78d730e
Commit
e78d730e
authored
1 month ago
by
Timo Furrer
Browse files
Options
Downloads
Patches
Plain Diff
Make release script more robust
Changelog: development
parent
becf6520
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab/scripts/release.sh
+2
-2
2 additions, 2 deletions
.gitlab/scripts/release.sh
with
2 additions
and
2 deletions
.gitlab/scripts/release.sh
+
2
−
2
View file @
e78d730e
...
@@ -30,7 +30,7 @@ echo "Updating default value for version input to match ${version} ..."
...
@@ -30,7 +30,7 @@ echo "Updating default value for version input to match ${version} ..."
"
${
script_dir
}
/update-self-version.sh"
"
${
version
}
"
"
${
script_dir
}
/update-self-version.sh"
"
${
version
}
"
git commit templates/
*
.yml
-m
"Update version input default for
${
version
}
release"
git commit templates/
*
.yml
-m
"Update version input default for
${
version
}
release"
||
echo
"Nothing to commit, skipping it ..."
git push
-o
ci.skip origin main
git push
-o
ci.skip origin main
echo
"Determing last stable version ..."
echo
"Determing last stable version ..."
...
@@ -55,7 +55,7 @@ echo "Pulling changelog ..."
...
@@ -55,7 +55,7 @@ echo "Pulling changelog ..."
git pull
git pull
echo
"Tagging
${
version
}
..."
echo
"Tagging
${
version
}
..."
git tag
"
${
version
}
"
git tag
"
${
version
}
"
||
echo
"Release tag already exists, skipping it ..."
echo
"Pushing tag
${
version
}
..."
echo
"Pushing tag
${
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