diff --git a/.ci/deploy_key.enc b/.ci/deploy_key.enc deleted file mode 100644 index af98a5d4..00000000 Binary files a/.ci/deploy_key.enc and /dev/null differ diff --git a/.github/ISSUE_TEMPLATE/caddy_bug_report.md b/.github/ISSUE_TEMPLATE/caddy_bug_report.md deleted file mode 100644 index b01b0daa..00000000 --- a/.github/ISSUE_TEMPLATE/caddy_bug_report.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -name: Caddy related bug report -about: Create a report to help us improve ---- - -### Please open the issue on https://github.com/filebrowser/caddy/issues/new diff --git a/wizard.sh b/wizard.sh index d4cb0dad..21dc0662 100755 --- a/wizard.sh +++ b/wizard.sh @@ -121,46 +121,6 @@ lint () { fi } -pushRicebox () { - COMMIT_SHA="$(git rev-parse --verify HEAD | cut -c1-8)" - - cd $REPO - - eval `ssh-agent -s` - openssl aes-256-cbc -K $encrypted_9ca81b5594f5_key -iv $encrypted_9ca81b5594f5_iv -in ./.ci/deploy_key.enc -d | ssh-add - - - git clone git@github.com:filebrowser/caddy caddy - cd caddy - cp ../http/rice-box.go ./ - sed -i 's/package http/package caddy/g' ./rice-box.go - - go get -u github.com/filebrowser/filebrowser/v2@latest - - git checkout -b update-rice-box origin/master - git config --local user.name "Filebrowser Bot" - git config --local user.email "FilebrowserBot@users.noreply.github.com" - git commit -am "update rice-box $COMMIT_SHA" - - if [ $(git tag | grep "$TRAVIS_TAG" | wc -l) -ne 0 ]; then - git tag -d "$TRAVIS_TAG" - fi - - git tag "$TRAVIS_TAG" - - if [ "$(git ls-remote --heads origin update-rice-box)" != "" ]; then - git push -u origin update-rice-box - else - git push origin +update-rice-box - fi - - if [ "$(git ls-remote --heads origin update-rice-box)" != "" ]; then - git push origin "$TRAVIS_TAG" - else - git push origin :"$TRAVIS_TAG" - git push origin "$TRAVIS_TAG" - fi -} - ciRelease () { docker run --rm -t \ -v $(pwd):/src \ @@ -172,7 +132,6 @@ ciRelease () { goreleaser \ " - pushRicebox dockerPushTag }