We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16037d0 commit 5b0876dCopy full SHA for 5b0876d
1 file changed
entrypoint.sh
@@ -7,8 +7,6 @@ if [[ $GITHUB_REF != "refs/tags/"* ]]; then
7
exit 0;
8
fi
9
10
-git remote set-url origin "https://$INPUT_TOKEN@github.com/$GITHUB_REPOSITORY"
11
-
12
git fetch origin +refs/tags/*:refs/tags/*
13
14
CURRENT_TAG=${3:-$(git describe --abbrev=0 --tags "$(git rev-list --tags --skip=1 --max-count=1)" || true)}
@@ -21,6 +19,7 @@ if [[ -z $CURRENT_TAG ]]; then
21
19
22
20
23
+echo "::debug::Calculating diff..."
24
PART=$(wget -O - https://raw.githubusercontent.com/fsaintjacques/semver-tool/3.2.0/src/semver | bash -s diff "${CURRENT_TAG//v/}" "${NEW_TAG//v/}")
25
26
echo "::set-output name=release_type::$PART"
0 commit comments