mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-08 19:50:05 +01:00
Merge pull request #4111 from wy65701436/fix-tag-build
[Upload Build]Fix bug for trigger harbor build with tag
This commit is contained in:
commit
e48d1b4db2
@ -98,8 +98,8 @@ echo "--------------------------------------------------"
|
|||||||
#
|
#
|
||||||
# Put code here is because that it needs clean code to build installer.
|
# Put code here is because that it needs clean code to build installer.
|
||||||
##
|
##
|
||||||
if [ $DRONE_BRANCH == "master" ] || [ $DRONE_BRANCH == *"refs/tags"* ] || [ $DRONE_BRANCH == "release-"* ] || [ $DRONE_BRANCH == "pks-"* ]; then
|
if [[ $DRONE_BRANCH == "master" || $DRONE_BRANCH == *"refs/tags"* || $DRONE_BRANCH == "release-"* || $DRONE_BRANCH == "pks-"* ]]; then
|
||||||
if [ $DRONE_BUILD_EVENT == "push" ] || [ $DRONE_BUILD_EVENT == "tag" ]; then
|
if [[ $DRONE_BUILD_EVENT == "push" || $DRONE_BUILD_EVENT == "tag" ]]; then
|
||||||
package_offline_installer
|
package_offline_installer
|
||||||
upload_latest_build=true
|
upload_latest_build=true
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user