Skip to content
This repository was archived by the owner on May 23, 2021. It is now read-only.

Commit 0a52853

Browse files
committed
Fix cache upload on master branch
1 parent f2cd05a commit 0a52853

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/cacher.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,8 @@ package() {
2929
main() {
3030
cd "$(dirname "$0")/.."
3131

32-
# Get the branch for this build. We can ignore the master branch since we'll
33-
# fall back to it below anyway.
32+
# Get the branch for this build.
3433
branch=${DRONE_BRANCH:-${DRONE_SOURCE_BRANCH:-${DRONE_TAG:-}}}
35-
[ "$branch" = "$DRONE_REPO_BRANCH" ] && branch=""
3634

3735
# The cache will be named based on the arch, platform, and libc.
3836
arch=$DRONE_STAGE_ARCH

0 commit comments

Comments
 (0)