Skip to content

Commit

Permalink
Declared variable for project name PROJECT_NAME in build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
PatMis16 committed Apr 22, 2021
1 parent 2b221e7 commit 56f277d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -eux

PROJECT_ROOT="/go/src/github.com/${GITHUB_REPOSITORY}"

PROJECT_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F'.' '{print $1}')
mkdir -p $PROJECT_ROOT
rmdir $PROJECT_ROOT
ln -s $GITHUB_WORKSPACE $PROJECT_ROOT
Expand Down

0 comments on commit 56f277d

Please sign in to comment.