update snap script, added temp files to .gitignore

This commit is contained in:
Andrey Meshkov 2020-04-22 21:02:38 +03:00
parent 0ffc0965dc
commit 4153d973ec
2 changed files with 10 additions and 2 deletions

7
.gitignore vendored
View File

@ -17,3 +17,10 @@ coverage.txt
# Test output # Test output
dnsfilter/tests/top-1m.csv dnsfilter/tests/top-1m.csv
dnsfilter/tests/dnsfilter.TestLotsOfRules*.pprof dnsfilter/tests/dnsfilter.TestLotsOfRules*.pprof
# Snapcraft build temporary files
*.snap
launchpad_credentials
snapcraft_login
snapcraft.yaml
snapcraft.yaml.bak

View File

@ -260,9 +260,10 @@ case "$1" in
"build-docker") build_docker ;; "build-docker") build_docker ;;
"build") build ;; "build") build ;;
"publish-docker-beta") publish_docker beta ;; "publish-docker-beta") publish_docker beta ;;
"publish-docker-release") publish_docker release ;; "publish-docker-release") publish_docker stable ;;
"publish-beta") publish beta ;; "publish-beta") publish beta ;;
"publish-release") publish release ;; "publish-release") publish stable ;;
"prepare") prepare ;;
"cleanup") cleanup ;; "cleanup") cleanup ;;
*) usage ;; *) usage ;;
esac esac