begin minimal protection against double upload
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								02c8079fef
							
						
					
				
			
			
				commit
				
					
						db717ab660
					
				
			
		
					 2 changed files with 8 additions and 3 deletions
				
			
		
							
								
								
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -28,3 +28,4 @@ cdist/version.py
 | 
				
			||||||
/src
 | 
					/src
 | 
				
			||||||
build
 | 
					build
 | 
				
			||||||
.lock-*
 | 
					.lock-*
 | 
				
			||||||
 | 
					.git-current-branch
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										10
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
					@ -194,7 +194,6 @@ git-branch-merge: git-checkout-stable
 | 
				
			||||||
git-checkout-stable: git-tag
 | 
					git-checkout-stable: git-tag
 | 
				
			||||||
	@git rev-parse --abbrev-ref HEAD > $(GIT_CURRENT)
 | 
						@git rev-parse --abbrev-ref HEAD > $(GIT_CURRENT)
 | 
				
			||||||
	@git checkout "$(GIT_DST_BRANCH)"
 | 
						@git checkout "$(GIT_DST_BRANCH)"
 | 
				
			||||||
	make git-checkout-current
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
git-checkout-current:
 | 
					git-checkout-current:
 | 
				
			||||||
	git checkout "$$(cat $(GIT_CURRENT))"
 | 
						git checkout "$$(cat $(GIT_CURRENT))"
 | 
				
			||||||
| 
						 | 
					@ -228,15 +227,20 @@ $(PYPI_FILE): man $(VERSION_FILE)
 | 
				
			||||||
################################################################################
 | 
					################################################################################
 | 
				
			||||||
# archlinux
 | 
					# archlinux
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
 | 
					ARCHLINUX_FILE=.lock-archlinux
 | 
				
			||||||
ARCHLINUXTAR=cdist-$(CHANGELOG_VERSION)-1.src.tar.gz
 | 
					ARCHLINUXTAR=cdist-$(CHANGELOG_VERSION)-1.src.tar.gz
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$(ARCHLINUXTAR): PKGBUILD pypi-release
 | 
					$(ARCHLINUXTAR): PKGBUILD pypi-release
 | 
				
			||||||
	makepkg -c --source
 | 
						makepkg -c --source
 | 
				
			||||||
 | 
					
 | 
				
			||||||
PKGBUILD: PKGBUILD.in $(VERSION_FILE)
 | 
					PKGBUILD: PKGBUILD.in $(VERSION_FILE)
 | 
				
			||||||
	./PKGBUILD.in
 | 
						./PKGBUILD.in
 | 
				
			||||||
 | 
					
 | 
				
			||||||
archlinux-release: $(ARCHLINUXTAR)
 | 
					$(ARCHLINUX_FILE): $(ARCHLINUXTAR) $(VERSION_FILE)
 | 
				
			||||||
	burp -c system $^
 | 
						burp -c system $(ARCHLINUXTAR)
 | 
				
			||||||
 | 
						touch $@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					archlinux-release: $(ARCHLINUX_FILE)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
################################################################################
 | 
					################################################################################
 | 
				
			||||||
# Release
 | 
					# Release
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue