From 49f4f316f8691493e624ced90a0353a606a167e9 Mon Sep 17 00:00:00 2001 From: wanghe-fit2cloud Date: Wed, 31 May 2023 15:44:18 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20goreleaser=20=E5=A2=9E=E5=8A=A0=20d?= =?UTF-8?q?odocker.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- .goreleaser.yaml | 1 + .vscode/settings.json | 3 +++ script.sh | 4 ++++ 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 9b95f7a56..05c220fd1 100644 --- a/.gitignore +++ b/.gitignore @@ -29,4 +29,5 @@ frontend/components.d.ts dist/ 1pctl 1panel.service -install.sh \ No newline at end of file +install.sh +docker.sh diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 5708d5305..46dcd0cb5 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -48,6 +48,7 @@ archives: - 1pctl - 1panel.service - install.sh + - docker.sh - README.md - LICENSE diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..6a4f67ada --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "ansible.python.interpreterPath": "/opt/homebrew/bin/python3" +} \ No newline at end of file diff --git a/script.sh b/script.sh index b6261f199..56e6d75ec 100755 --- a/script.sh +++ b/script.sh @@ -17,4 +17,8 @@ if [ ! -f "install.sh" ]; then wget https://github.com/1Panel-dev/installer/raw/main/install.sh fi +if [ ! -f "docker.sh" ]; then + wget https://github.com/1Panel-dev/installer/raw/main/docker.sh +fi + chmod 755 1pctl install.sh \ No newline at end of file