Skip to content

Commit

Permalink
Added a new command for CI's
Browse files Browse the repository at this point in the history
  • Loading branch information
CreepPork committed Mar 15, 2019
1 parent a149808 commit 87ab739
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,16 @@ release: clean version commit
@"$(MAKE)" $(MAKEFLAGS) signatures
@echo " ZIP $(ZIP)_$(VERSION_F).zip"
@cp mod.cpp README.md AUTHORS.txt LICENSE logo_achilles_ca.paa $(BIN)
@mkdir release
@zip -qr $(ZIP)_$(VERSION_F)-$(GIT_HASH).zip $(BIN)

releaseCI: clean version
@"$(MAKE)" $(MAKEFLAGS) signatures
@echo " ZIP $(ZIP)_$(VERSION_F).zip"
@cp mod.cpp README.md AUTHORS.txt LICENSE logo_achilles_ca.paa $(BIN)
@mkdir release -p
@zip -qr release/$(ZIP)_$(VERSION_F)-$(GIT_HASH).zip $(BIN)

clean:
rm -rf $(BIN) release/$(ZIP)_*.zip $(ZIP)_*.zip

.PHONY: all filepatching signatures extensions extensions-win64 version commit push release clean
.PHONY: all filepatching signatures extensions extensions-win64 version commit push release releaseCI clean
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- script: |
armake -v
make release
make releaseCI
displayName: 'Build with armake'
- task: PublishPipelineArtifact@0
Expand Down

0 comments on commit 87ab739

Please sign in to comment.