File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ BUMPED_MINOR=${shell VN=`cat ${APPNAME}.spec | grep Version| sed 's/${VER_REGEX
1515NEW_VER =${shell cat ${APPNAME}.spec | grep Version| sed 's/\(^Version:\s*\)\([0-9]*\.[0-9]*\.\)\(.*\)/\2${BUMPED_MINOR}/'}
1616NEW_REL =0.1.${GITDATE}
1717DIST =${shell rpm --eval "%{dist}"}
18- GIT_MASTER =master
18+ GIT_MASTER =develop
1919CURDIR = ${shell pwd}
2020BUILDDIR = $(CURDIR ) /build
2121
@@ -132,16 +132,23 @@ archive:
132132changelog :
133133 @git log --pretty --numstat --summary | tools/git2cl > ChangeLog
134134
135+ release-branch :
136+ @git branch -m ${GIT_MASTER} release-${VERSION}
135137
136- release :
138+ release-publish :
139+ @git checkout release-${VERSION}
137140 @git commit -a -m " bumped version to $( VERSION) "
138141 @$(MAKE ) changelog
139142 @git commit -a -m " updated ChangeLog"
140- @git push
143+ @git checkout release-devel
144+ @git merge --no-ff release-${VERSION} -m " merge ${APPNAME} -${VERSION} release"
141145 @git tag -f -m " Added ${APPNAME} -${VERSION} release tag" ${APPNAME} -${VERSION}
142146 @git push --tags origin
143147 @$(MAKE ) rpms
144148
149+ release-cleanup :
150+ @git branch -D release-${VERSION}
151+
145152test-cleanup :
146153 @rm -rf ${APPNAME} -${VERSION} .test.tar.gz
147154 @echo " Cleanup the git release-test local branch"
You can’t perform that action at this time.
0 commit comments