;tools: make tag-all -> tag, tag-project
This commit is contained in:
		
							parent
							
								
									c5b648682d
								
							
						
					
					
						commit
						bf613dbe4e
					
				
							
								
								
									
										7
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								Makefile
									
									
									
									
									
								
							| @ -853,13 +853,16 @@ manuals: Shake $(call def-help,manuals, regenerate and commit CLI help and manua | |||||||
| 	./Shake manuals | 	./Shake manuals | ||||||
| 	git commit -m ";doc: regen manuals" -m "[ci skip]" hledger*/hledger*.{1,5,info,txt} hledger/Hledger/Cli/Commands/*.txt | 	git commit -m ";doc: regen manuals" -m "[ci skip]" hledger*/hledger*.{1,5,info,txt} hledger/Hledger/Cli/Commands/*.txt | ||||||
| 
 | 
 | ||||||
| tag-all: $(call def-help,tag-all, make git release tags and for the project and all packages ) | tag: $(call def-help,tag, make git release tags and for the project and all packages ) | ||||||
| 	for p in $(PACKAGES); do make -s tag-$$p; done | 	for p in $(PACKAGES); do make -s tag-$$p; done | ||||||
| 	git tag -fs `cat .version` -m "Release `cat .version`, https://hledger.org/release-notes.html#hledger-`cat .version | sed -e 's/\./-/g'`" | 	make -s tag-project | ||||||
| 
 | 
 | ||||||
| tag-%: $(call def-help,tag-PKG, make a git release tag for PKG ) | tag-%: $(call def-help,tag-PKG, make a git release tag for PKG ) | ||||||
| 	git tag -fs $*-`cat $*/.version` -m "Release $*-`cat $*/.version`" | 	git tag -fs $*-`cat $*/.version` -m "Release $*-`cat $*/.version`" | ||||||
| 
 | 
 | ||||||
|  | tag-project: $(call def-help,tag-project, make a git release tag for the project as a whole ) | ||||||
|  | 	git tag -fs `cat .version` -m "Release `cat .version`, https://hledger.org/release-notes.html#hledger-`cat .version | sed -e 's/\./-/g'`" | ||||||
|  | 
 | ||||||
| # hackageupload-dry: \
 | # hackageupload-dry: \
 | ||||||
| # 	$(call def-help,hackageupload-dry,\
 | # 	$(call def-help,hackageupload-dry,\
 | ||||||
| # 	upload all packages to hackage; dry run\
 | # 	upload all packages to hackage; dry run\
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user