Skip to content

Commit

Permalink
Added condition for build-publish-flow to restrict only to master bra…
Browse files Browse the repository at this point in the history
…nch #364
  • Loading branch information
sagiegurari committed Jan 9, 2020
1 parent 3cb5937 commit 3fe54a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Added new CARGO_MAKE_RUST_TARGET_TRIPLE environment variables #356 (thanks @daxpedda)
* Upgraded duckscript version
* Increased minimal rust version to 1.39.0
* Added condition for build-publish-flow to restrict only to master branch #364

### v0.25.1 (2020-01-03)

Expand Down
2 changes: 1 addition & 1 deletion src/lib/Makefile.stable.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ script = [
description = "Runs full sanity, generates github release and publishes the crate."
category = "Publish"
workspace = false
condition = { env_set = [ "COMMIT_MSG", "GITHUB_API_TOKEN", "GITHUB_REPO_NAME" ] }
condition = { env_set = [ "COMMIT_MSG", "GITHUB_API_TOKEN", "GITHUB_REPO_NAME" ], env = { "CARGO_MAKE_GIT_BRANCH" = "master" } }
env = { "CARGO_MAKE_SKIP_PREPUBLISH_CLEAN" = true }
run_task = [
{ name = "workspace-build-publish-flow", condition = { env_true = ["CARGO_MAKE_CRATE_IS_WORKSPACE"] } },
Expand Down

0 comments on commit 3fe54a9

Please sign in to comment.