From: j8takagi Date: Tue, 19 May 2026 07:55:45 +0000 (+0900) Subject: gitのブランチ名がmasterからmainに変わったことを反映 X-Git-Tag: v0.5p31~1 X-Git-Url: https://www.j8takagi.net/gitweb?a=commitdiff_plain;h=f2e1f4f3106b6ba65fd93ebdb7d0dc171c1f8b45;p=yacasl2.git gitのブランチ名がmasterからmainに変わったことを反映 --- diff --git a/Makefile b/Makefile index 29b1a15..d8b3b5c 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ VERSION := $(shell $(CAT) VERSION) VERSIONGITREF := $(shell $(GIT) show-ref -s --tags $(VERSION)) -MASTERGITREF := $(shell $(GIT) show-ref -s refs/heads/master) +MAINGITREF := $(shell $(GIT) show-ref -s refs/heads/main) VERSIONFILES := include/version.h \ test/system/casl2_opt/opt_v/0.txt \ @@ -90,7 +90,7 @@ $(VERSIONFILES): VERSION @$(SED) -e "s/@@VERSION@@/$(VERSION)/g" $@.version >$@ gittag: - if test `$(GIT) status -s | $(WC) -l` -gt 0; then $(ECHO) "Error: commit, first."; exit 1; fi; if test "$(VERSIONGITREF)" != "$(MASTERGITREF)"; then $(GIT) tag $(VERSION); fi + 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 copyright: $(SEDI) 's/Copyright (c) 2010-20[0-9][0-9]/Copyright (c) 2010-$(YEAR)/g' LICENSE README diff --git a/VERSION b/VERSION index c9a545e..ecc83b5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.5p29 +v0.5p30