Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
voila-runtimes
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
mice
voila-runtimes
Commits
db7becd4
Commit
db7becd4
authored
4 years ago
by
fabio.memoli@micegroup.it
Browse files
Options
Downloads
Patches
Plain Diff
Add script
parent
2ebd986e
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
voila-runtime-root/deploy_release.cmd
+26
-0
26 additions, 0 deletions
voila-runtime-root/deploy_release.cmd
with
26 additions
and
0 deletions
voila-runtime-root/deploy_release.cmd
0 → 100644
+
26
−
0
View file @
db7becd4
@echo
off
cls
rem Name of git tag.
set
TAG_NAME
=
"v
%DATE
:-=.
%
"
rem Remove old local tag.
git
tag
-d
"
%TAG_NAME%
"
rem Remove old remote tag.
git
push
origin
--delete
"
%TAG_NAME%
"
rem Prepare a release without push remote tag and changes.
mvn
release
:prepare
-DremoteTagging
=
false
-DpushChanges
=
false
rem Push remote tag and changes.
git
commit
-a -m
"Prepare a release"
git
tag
"
%TAG_NAME%
"
git
push
git
push
--tags
git
push
origin
rem Perform a release.
mvn
release
:perform
rem end of file
\ No newline at end of file
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