fix: don't run merge release in slash

This commit is contained in:
Mikeal Rogers 2019-05-23 19:08:29 +00:00
parent 7c3d63add4
commit f2103bf5db
2 changed files with 1 additions and 2 deletions

View File

@ -12,7 +12,6 @@ LABEL com.github.actions.color="red"
COPY LICENSE README.md / COPY LICENSE README.md /
COPY "entrypoint.sh" "/entrypoint.sh" COPY "entrypoint.sh" "/entrypoint.sh"
COPY merge-release-run.js /merge-release-run.js
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
CMD ["help"] CMD ["help"]

View File

@ -14,7 +14,7 @@ fi
if [ "$GITHUB_REPOSITORY" = "mikeal/merge-release" ] if [ "$GITHUB_REPOSITORY" = "mikeal/merge-release" ]
then then
sh -c "node /merge-release-run.js $*" sh -c "node merge-release-run.js $*"
else else
sh -c "npx merge-release $*" sh -c "npx merge-release $*"
fi fi