Skip to content
Permalink
Browse files

Do not avoid publishing packages/docs for tags

Fixed a bug made by #305

[changelog skip]
  • Loading branch information...
dahlia committed Jul 8, 2019
1 parent 18ffa43 commit 85a13acbac71e831e6d8764f65f4b27bdc45fef4
Showing with 2 additions and 0 deletions.
  1. +1 −0 .github/bin/dist-nuget.sh
  2. +1 −0 Docs/publish.sh
@@ -23,6 +23,7 @@ fi
# and the branch is for releases (master or maintenance-*).
# shellcheck disable=SC2235
if [ "$GITHUB_REPOSITORY" != "planetarium/libplanet" ] || (
[ "$GITHUB_REF" = "${GITHUB_REF#refs/tags/}" ] &&
[ "$GITHUB_REF" != refs/heads/master ] &&
[ "$GITHUB_REF" = "${GITHUB_REF#refs/heads/maintenance-}" ] ); then
alias dotnet="echo DRY-RUN: dotnet"
@@ -42,6 +42,7 @@ if [ "$GITHUB_EVENT_NAME" = "pull_request" ]; then
slug="pulls/$pr_number"
else
if [ "$GITHUB_REPOSITORY" = "planetarium/libplanet" ] && \
[ "$GITHUB_REF" = "${GITHUB_REF#refs/tags/}" ] &&
[ "$GITHUB_REF" != refs/heads/master ] && \
[ "$GITHUB_REF" = "${GITHUB_REF#refs/heads/maintenance-}" ]; then
echo "This branch is not for releases, so docs won't be published." \

0 comments on commit 85a13ac

Please sign in to comment.
You can’t perform that action at this time.