diff --git a/build.sh b/build.sh index 96c33b5..48e0233 100755 --- a/build.sh +++ b/build.sh @@ -4,7 +4,7 @@ set -e # Timestamp for logs -echo "$(date)" +date # Update git pull origin main diff --git a/deploy.sh b/deploy.sh index c56404b..32b01f6 100755 --- a/deploy.sh +++ b/deploy.sh @@ -7,7 +7,7 @@ set -e # Gets commit hash as message -REV=`git rev-parse HEAD` +REV=$(git rev-parse HEAD) # git checkout gh-pages # Step 3 @@ -27,6 +27,6 @@ git push # Step 9 # CalVer YYYY.0M date=$(date '+%Y.%m') -echo $date +echo "$date" git tag -a "$date" -m "Release $date" git push --tags