Initial commit: RoseTTAFold-All-Atom configured for Wes with Harbor images and s3:// paths
This commit is contained in:
17
cut_version_tag.sh
Normal file
17
cut_version_tag.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo "checking out master branch"
|
||||
git checkout master
|
||||
echo "pulling latest changes"
|
||||
git pull
|
||||
|
||||
version=`cat VERSION`
|
||||
full_version="$version"
|
||||
|
||||
echo "current git HEAD is \"$(git log --oneline |head -1)\""
|
||||
read -p "Would you like to create and push the tag ${full_version} at the current head of the master branch? (y/n)" proceed
|
||||
|
||||
if [[ ${proceed} == "y" ]]; then
|
||||
git tag "${full_version}"
|
||||
git push --tags
|
||||
fi
|
||||
Reference in New Issue
Block a user