Skip to content

Commit

Permalink
Merge branch 'master' into v0.43.0-bump
Browse files Browse the repository at this point in the history
  • Loading branch information
stiiifff committed Dec 9, 2024
2 parents 2e2fd2d + 2d4dddf commit fb091a6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/moonbeam-production.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@ RUN echo "*** Cloning Moonbeam ***" && \
if git ls-remote --heads https://github.com/moonbeam-foundation/moonbeam.git $COMMIT | grep -q $COMMIT; then \
echo "Cloning branch $COMMIT"; \
git clone --depth=1 --branch $COMMIT https://github.com/moonbeam-foundation/moonbeam.git; \
elif git ls-remote --tags https://github.com/moonbeam-foundation/moonbeam.git $COMMIT | grep -q $COMMIT; then \
echo "Cloning tag $COMMIT"; \
git clone --depth=1 --branch $COMMIT https://github.com/moonbeam-foundation/moonbeam.git; \
else \
echo "Cloning specific commit $COMMIT"; \
git clone --depth=1 https://github.com/moonbeam-foundation/moonbeam.git && \
cd moonbeam && \
git fetch --depth=1 origin $COMMIT && \
git fetch origin $COMMIT && \
git checkout $COMMIT; \
fi

Expand Down

0 comments on commit fb091a6

Please sign in to comment.