FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
MontePy/.github/scripts/deploy.sh at develop · idaholab/MontePy · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
idaholab
/
MontePy
Public
Notifications
You must be signed in to change notification settings
Fork
27
Star
66
Code
Issues
103
Pull requests
2
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
MontePy
/
.github
/
scripts
/
deploy.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
28 lines (20 loc) · 654 Bytes
Breadcrumbs
MontePy
/
.github
/
scripts
/
deploy.sh
Copy path
File metadata and controls
executable file
·
28 lines (20 loc) · 654 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!
/bin/bash
new_ver=
$1
echo
"
next version:
$new_ver
"
read
-p
"
Are you sure?
"
-n 1 -r
echo
#
(optional) move to a new line
if
[[
$REPLY
=~
^[Yy]$ ]]
then
#
do dangerous stuff
echo
"
Updating Changelog
"
sed -i
"
s/#Next Version#/
$new_ver
/w changes
"
doc/source/changelog.rst
git diff
read
-p
"
Are you sure?
"
-n 1 -r
echo
#
(optional) move to a new line
if
[[
$REPLY
=~
^[Yy]$ ]]
then
git add doc/source/changelog.rst
echo
"
Updating changelog to next version:
"
>
commit_template
git commit -t commit_template
&&
rm commit_template
&&
echo
"
Tagging next release
"
&&
git tag
"
v
$new_ver
"
&&
git push --tags
&&
git push
fi
fi
Back
|
FazBrowse Home
|
New Git URL