Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
build: update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
HamidMolareza committed Apr 1, 2023
1 parent 2f5f0d2 commit 6b7f4f8
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,23 @@ CREATE_PR_FOR_BRANCH := $(if $(create_pr_for_branch),$(create_pr_for_branch),"ma
watch-actions: ## Watch a run until it completes, showing its progress
gh run watch; notify-send "run is done!"

release-action: ## Run release action
gh workflow run Release --ref $(REF) -f skip_release_file=$(SKIP_RELEASE_FILE) -f release_file_name=$(RELEASE_FILE_NAME) -f release_directory=$(RELEASE_DIRECTORY) -f skip_changelog=$(SKIP_CHANGELOG) -f version=$(VERSION) -f create_pr_for_branch=$(CREATE_PR_FOR_BRANCH)

changelog-action: ## Run changelog action
gh workflow run Changelog --ref $(REF) -f version=$(VERSION)

build-action: ## Run build action
gh workflow run build --ref $(REF)
release-action: ## Run release action
gh workflow run Release --ref $(REF) -f skip_release_file=$(SKIP_RELEASE_FILE) -f release_file_name=$(RELEASE_FILE_NAME) -f release_directory=$(RELEASE_DIRECTORY) -f skip_changelog=$(SKIP_CHANGELOG) -f version=$(VERSION) -f create_pr_for_branch=$(CREATE_PR_FOR_BRANCH)

publish-test-action: ## Run publish test action
gh workflow run 'Publish to Test.PyPI' --ref $(REF) -f version=$(VERSION)

publish-action: ## Run publish action
gh workflow run 'Publish to PyPI' --ref $(REF) -f version=$(VERSION)

publish-test-action: ## Run publish test action
gh workflow run 'Publish to Test.PyPI' --ref $(REF) -f version=$(VERSION)
build-action: ## Run build action
gh workflow run build --ref $(REF)

coverage-action:
gh workflow run 'Coverage Report' --ref $(REF)

# Targets for running standard-version commands
version: ## Get current program version
Expand Down

0 comments on commit 6b7f4f8

Please sign in to comment.