Skip to content

Commit

Permalink
Release script was updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sebaxtian committed Apr 10, 2020
1 parent 9feb365 commit 03ef170
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
echo ""
# Check any error
if [ $? -eq 0 ]; then
echo "Running Colombia Covid 19 Pipeline Release ..."
# Check the last version tag
LAST_VERSION=$(hub release | head -n 1)
echo "Last release $LAST_VERSION"
echo "Lastest release $LAST_VERSION"
# Get the last patch
N=$(hub release | head -n 1 | tail -c 2)
N=$(($N + 1))
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ $? -eq 0 ]; then
cd ../
# Finish without error
echo "Finished !"
echo "The Pipeline output is generated within ./output directory."
echo "Pipeline output is generated within ./output directory."
# Success
exit 0
else
Expand Down

0 comments on commit 03ef170

Please sign in to comment.