mirror of https://github.com/gogits/gogs.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
452 B
22 lines
452 B
#!/bin/sh |
|
# Finalize the build |
|
|
|
set -x |
|
set -e |
|
|
|
# Move to final place |
|
mv /app/gogs/build/gogs /app/gogs/ |
|
mv /app/gogs/build/templates /app/gogs/ |
|
mv /app/gogs/build/public /app/gogs/ |
|
mv /app/gogs/build/docker /app/gogs/ |
|
|
|
# Final cleaning |
|
rm -rf /app/gogs/build |
|
rm /app/gogs/docker/build.sh |
|
rm /app/gogs/docker/build-go.sh |
|
rm /app/gogs/docker/finalize.sh |
|
rm /app/gogs/docker/nsswitch.conf |
|
rm /app/gogs/docker/README.md |
|
|
|
rm -rf /tmp/go |
|
rm -rf /usr/local/go |