5 Commits

Author SHA1 Message Date
5b60906c2f fix: Corrected the address for github external plugin
All checks were successful
CI / build (push) Successful in 18s
CI / release (release) Successful in 5m0s
2024-07-25 11:05:00 +12:00
909eb110bd fix: go-semantic-release can download from github repo 🐛 🚀
Some checks failed
CI / build (push) Successful in 17s
CI / release (release) Failing after 4m24s
2024-07-25 10:20:32 +12:00
7efa2616c6 fix: go-semantic-release can download from github repo 🐛 🚀
Some checks failed
CI / build (push) Successful in 1m51s
CI / release (release) Failing after 4m17s
2024-07-25 09:54:24 +12:00
ab12fb11da fix: Update gitea provider version ⬆️
All checks were successful
CI / build (push) Successful in 1m45s
CI / release (release) Successful in 5m14s
2024-07-24 13:34:18 +12:00
b382cb0404 fix: Don't try copy if current working dir is /tmp 🐛
All checks were successful
CI / build (push) Successful in 15s
CI / release (release) Successful in 4m45s
2024-07-23 09:38:27 +12:00
2 changed files with 11 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
FROM ghcr.io/catthehacker/ubuntu:act-22.04
ARG GITEA_PROVIDER_VER="1.0.13"
ARG GITEA_PROVIDER_VER="1.0.14"
# Install semantic-release wrapper
COPY scripts/go-semantic-release.sh /usr/local/bin/semantic-release
@@ -14,12 +14,12 @@ RUN mkdir -p /tmp/.semrel && \
--hooks exec && \
/usr/local/bin/semantic-release \
--download-plugins \
--provider github && \
--provider github \
--ci-condition github && \
/usr/local/bin/semantic-release \
--download-plugins \
--provider gitlab && \
mkdir -p /tmp/.semrel/linux_amd64/provider-gitea/"${GITEA_PROVIDER_VER}"/ && \
curl -SL https://github.com/cybercinch/go-semantic-release-provider-gitea/releases/download/v"${GITEA_PROVIDER_VER}"/go-semantic-release-provider-gitea_v"${GITEA_PROVIDER_VER}"_linux_amd64 \
--silent \
-o /tmp/.semrel/linux_amd64/provider-gitea/"${GITEA_PROVIDER_VER}"/gitea && \
chmod a+x /tmp/.semrel/linux_amd64/provider-gitea/"${GITEA_PROVIDER_VER}"/gitea
--provider gitlab \
--ci-condition gitlab && \
/usr/local/bin/semantic-release \
--download-plugins \
--provider github:guisea/go-semantic-release-provider-gitea

View File

@@ -6,7 +6,9 @@
################################
# Copy pre-loaded plugins
cp -Rf /tmp/.semrel "$(pwd)"/;
if [ "$(pwd)" != "/tmp" ]; then
cp -Rf /tmp/.semrel "$(pwd)"/;
fi
# Execute semantic-release and expand parameters
/usr/local/bin/go-semantic-release "$@"