mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 21:33:18 -07:00
Revert "Build snap based on branch instead of tag"
This reverts commit 2e5dd05a6c
.
This commit is contained in:
parent
1af419a860
commit
40e1eb9a49
2 changed files with 12 additions and 5 deletions
|
@ -37,6 +37,11 @@ parts:
|
|||
else
|
||||
GRADE=stable
|
||||
fi
|
||||
if [ "$VERSION" = "$TAG" ] && [ ! "$VERSION" = "${VERSION%-beta}" ]; then
|
||||
BRANCH=beta
|
||||
elif [ "$VERSION" = "$TAG" ]; then
|
||||
BRANCH=master
|
||||
fi
|
||||
echo $BRANCH > branch.txt
|
||||
echo $COMMIT > version.txt
|
||||
snapcraftctl set-version "$VERSION"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue