This repository was archived by the owner on May 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 44NAME=" envdb"
55BRANCH=" master"
66
7- VERSION=$( cat ${NAME} .go | grep -oP " Version\s+?\=\s? \" \K.*?(?= \" $|$) " )
7+ VERSION=$( cat . Version)
88OLD_VERSION=" 0.2.0"
99YANK_OLD_VERSIONS=true
1010
1111PREFIX=" mephux/$NAME "
1212RELEASE_PATH=" release"
1313
1414DEB=" ${NAME} _${OLD_VERSION} _amd64.deb"
15- DEB386=" ${NAME} - ${OLD_VERSION} _386.deb"
15+ DEB386=" ${NAME} _ ${OLD_VERSION} _386.deb"
1616
1717if [ " $DRONE_BRANCH " = " $BRANCH " ] && [ " $DRONE_PR " != " true" ]; then
1818 echo " MASTER BRANCH: Deploying..."
1919
2020 if [ " $YANK_OLD_VERSIONS " = true ]; then
2121
22- package_cloud yank $PREFIX /ubuntu/lucid $DEB
23- package_cloud yank $PREFIX /ubuntu/hardy $DEB
24- package_cloud yank $PREFIX /ubuntu/utopic $DEB
25- package_cloud yank $PREFIX /ubuntu/precise $DEB
26- package_cloud yank $PREFIX /ubuntu/trusty $DEB
22+ # package_cloud yank $PREFIX/ubuntu/lucid $DEB
23+ # package_cloud yank $PREFIX/ubuntu/hardy $DEB
24+ # package_cloud yank $PREFIX/ubuntu/utopic $DEB
25+ # package_cloud yank $PREFIX/ubuntu/precise $DEB
26+ # package_cloud yank $PREFIX/ubuntu/trusty $DEB
2727
2828 package_cloud yank $PREFIX /ubuntu/lucid $DEB386
2929 package_cloud yank $PREFIX /ubuntu/hardy $DEB386
Original file line number Diff line number Diff line change 6060 @rm -rf Godeps/_workspace/src/github.com/$(GITHUB_USER ) /$(NAME )
6161
6262release : clean all test gox setup package
63- @echo $(VERSION ) > .Version
6463 @for os in $(CCOS ) ; do \
6564 for arch in $( CCARCH) ; do \
6665 cd pkg/$$ os-$$ arch/; \
8281
8382setup :
8483 @$(ECHO ) " $( OK_COLOR) ==> Building Packages $( NAME) $( NO_COLOR) "
84+ @echo $(VERSION ) > .Version
8585 @mkdir -p package/root/usr/bin
8686 @cp -R bin/$(NAME ) package/root/usr/bin
8787 @mkdir -p release/
You can’t perform that action at this time.
0 commit comments