mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-12-22 19:55:39 +00:00
Fix bugs in CircleCI naming
This commit is contained in:
parent
6366558258
commit
d58c971559
@ -16,7 +16,7 @@ jobs:
|
||||
command: |
|
||||
mkdir /tmp/upload
|
||||
echo 'export CINAME=$(sh contrib/semver/name.sh)' >> $BASH_ENV
|
||||
echo 'export CIVERSION=$(sh contrib/semver/version.sh)' >> $BASH_ENV
|
||||
echo 'export CIVERSION=$(sh contrib/semver/version.sh | cut -c 2-)' >> $BASH_ENV
|
||||
|
||||
- run:
|
||||
name: Build for Linux (including Debian packages)
|
||||
|
@ -3,12 +3,6 @@
|
||||
# Get the branch name
|
||||
BRANCH=$(git name-rev --name-only HEAD 2>/dev/null)
|
||||
|
||||
# Check if the branch name check fails
|
||||
if [ $? != 0 ]; then
|
||||
printf "yggdrasil"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Check if the branch name is not master
|
||||
if [ "$BRANCH" = "master" ]; then
|
||||
printf "yggdrasil"
|
||||
|
Loading…
Reference in New Issue
Block a user