Skip to content

Commit

Permalink
revert buildspec
Browse files Browse the repository at this point in the history
  • Loading branch information
karan-batavia committed Aug 30, 2024
1 parent dee33f7 commit e6e2570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ phases:
LATEST_TAG="$(git describe --tags --abbrev=0)"
VERSION=${LATEST_TAG:1}
else
LATEST_TAG=$(curl -H "Authorization: token ${GITUB_TOKEN}" -i https://api.github.com/repos/Privado-Inc/privado-core-enterprise/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
LATEST_TAG=$(curl -i https://api.github.com/repos/Privado-Inc/privado-core/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
VERSION_INITIAL=${LATEST_TAG:1}
VERSION=$VERSION_INITIAL-$CODEBUILD_BUILD_NUMBER
fi
Expand Down

0 comments on commit e6e2570

Please sign in to comment.