Skip to content

Commit

Permalink
change commit link
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasjarosch committed Mar 29, 2019
1 parent bf7fa97 commit 6dd2ae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/push.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
REPO="https://${GH_TOKEN}@github.com/lukasjarosch/godin-api-go.git"
REPO_PATH="$(pwd)/godin-api-go"
COMMIT=$(git rev-parse HEAD)
COMMIT=$(git rev-parse --short HEAD)
GEN_PATH="$(pwd)/gen/go"

function clone() {
Expand Down Expand Up @@ -29,7 +29,7 @@ function commitAndPush() {
if ! git diff --no-ext-diff --quiet --exit-code; then
git add .
git status
git commit -m "[lukasjarosch/godin-protobuf@SHA$COMMIT]: Automatic generation of Go protobuf stubs"
git commit -m "[lukasjarosch/godin-protobuf@$COMMIT]: Automatic generation of Go protobuf stubs"
git push
else
echo "No changes detected for $1"
Expand Down

0 comments on commit 6dd2ae9

Please sign in to comment.