]> j8takagi.net git repositories - yacasl2.git/commitdiff
make gitpushを追加 v0.5p52
authorj8takagi <j8takagi@nifty.com>
Wed, 10 Jun 2026 01:07:19 +0000 (10:07 +0900)
committerj8takagi <j8takagi@nifty.com>
Wed, 10 Jun 2026 01:07:19 +0000 (10:07 +0900)
Makefile
VERSION

index 61d7d3cb39896628fe6408fe7903abb0231ec6c4..f1aadafc03389068202170691cba466e35257236 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@
         doc alldoc doc_inner \
         install uninstall \
         version gittag copyright \
+        gitpush gitpushorigin gitpushgithub \
         clean src-clean gtags-clean \
         test-clean doc-clean doc_inner-clean
 
@@ -91,6 +92,16 @@ $(VERSIONFILES): VERSION
 gittag:
        if test `$(GIT) status -s | $(WC) -l` -gt 0; then $(ECHO) "Error: commit, first."; exit 1; fi; if test "$(VERSIONGITREF)" != "$(MAINGITREF)"; then $(GIT) tag $(VERSION); fi
 
+gitpush: gitpushorigin gitpushgithub
+
+gitpushorigin:
+       $(GIT) push origin main
+       $(GIT) push origin $(VERSION)
+
+gitpushgithub:
+       $(GIT) push github main
+       $(GIT) push github $(VERSION)
+
 copyright:
        $(SED) -i.bak 's/Copyright (c) 2010-20[0-9][0-9]/Copyright (c) 2010-$(YEAR)/g' LICENSE README && $(RM) *.bak
 
diff --git a/VERSION b/VERSION
index ddeae1556a82dcc4f7ad93d927e264558869c83f..2d9c26f96d4a89e769ee1f4e0a4ab336b3e3820d 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-v0.5p51
+v0.5p52