From 4153d973ecac72ed2e87f4606d163a9db311b949 Mon Sep 17 00:00:00 2001 From: Andrey Meshkov Date: Wed, 22 Apr 2020 21:02:38 +0300 Subject: [PATCH] update snap script, added temp files to .gitignore --- .gitignore | 7 +++++++ build_snap.sh | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 78d61cdf..7b15eb29 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,10 @@ coverage.txt # Test output dnsfilter/tests/top-1m.csv dnsfilter/tests/dnsfilter.TestLotsOfRules*.pprof + +# Snapcraft build temporary files +*.snap +launchpad_credentials +snapcraft_login +snapcraft.yaml +snapcraft.yaml.bak \ No newline at end of file diff --git a/build_snap.sh b/build_snap.sh index 8879fd22..525b210b 100755 --- a/build_snap.sh +++ b/build_snap.sh @@ -260,9 +260,10 @@ case "$1" in "build-docker") build_docker ;; "build") build ;; "publish-docker-beta") publish_docker beta ;; -"publish-docker-release") publish_docker release ;; +"publish-docker-release") publish_docker stable ;; "publish-beta") publish beta ;; -"publish-release") publish release ;; +"publish-release") publish stable ;; +"prepare") prepare ;; "cleanup") cleanup ;; *) usage ;; esac