Browse code

update

Guangchuang Yu authored on 28/10/2021 01:52:55
Showing2 changed files

... ...
@@ -1,6 +1,9 @@
1 1
 PKGNAME := $(shell sed -n "s/Package: *\([^ ]*\)/\1/p" DESCRIPTION)
2 2
 PKGVERS := $(shell sed -n "s/Version: *\([^ ]*\)/\1/p" DESCRIPTION)
3 3
 PKGSRC  := $(shell basename `pwd`)
4
+BIOCOLD := RELEASE_3_13
5
+BIOCCUR := RELEASE_3_14
6
+
4 7
 
5 8
 all: rd check clean
6 9
 
... ...
@@ -70,10 +73,10 @@ giteeinit:
70 73
 	git fetch --all
71 74
 
72 75
 rmoldrelease:
73
-	git branch -D RELEASE_3_13
76
+	git branch -D $(BIOCOLD)
74 77
 
75 78
 release:
76
-	git checkout RELEASE_3_14;\
79
+	git checkout $(BIOCCUR);\
77 80
 	git fetch --all
78 81
 
79 82
 update:
... ...
@@ -1,5 +1,8 @@
1 1
 make update;\
2 2
 sed -i 's/RELEASE_3_13/RELEASE_3_14/g' Makefile;\
3 3
 sed -i 's/RELEASE_3_12/RELEASE_3_13/g' Makefile;\
4
-git add .; git commit -m 'update bioc version';\
4
+make rmoldrelease;\
5
+make release;\
6
+git add .;\
7
+git commit -m 'update bioc version';\
5 8
 git push