Skip to content

Commit

Permalink
[build] master -> main
Browse files Browse the repository at this point in the history
  • Loading branch information
rroohhh committed Oct 5, 2021
1 parent ccb6e62 commit 449efbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ docker_builder:
test_script: |
./makefiles/docker-make.sh DEVICE=$DEVICE -o build/axiom-$DEVICE.img -o build/boot.fs/.install_stamp test
github_release_script: |
if [ $CIRRUS_BRANCH = 'master' ]; then
if [ $CIRRUS_BRANCH = 'main' ]; then
FILE=axiom-$DEVICE$([ -z $CIRRUS_PR ] || echo "-pr-$CIRRUS_PR")-$(git describe --always --abbrev=8).img.xz
# get the github-release tool
wget --no-verbose https://github.com/aktau/github-release/releases/download/v0.7.2/linux-amd64-github-release.tar.bz2
Expand All @@ -55,5 +55,5 @@ docker_builder:
" || true
./bin/linux/amd64/github-release upload -u $CIRRUS_REPO_OWNER -r $CIRRUS_REPO_NAME -t "nightly/$(git describe --always --abbrev=8)" -s $TOKEN -n "$FILE" -f build/$FILE
else
echo "not creating a github release, because this is not a build for the master branch"
echo "not creating a github release, because this is not a build for the main branch"
fi

0 comments on commit 449efbf

Please sign in to comment.