fix: don't run merge release in slash
This commit is contained in:
parent
7c3d63add4
commit
f2103bf5db
|
@ -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"]
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue