Rename flamenco-addon.zip to flamenco3-addon.zip

Just to be explicit this is for the new Flamenco version.
This commit is contained in:
Sybren A. Stüvel 2022-06-28 12:17:57 +02:00
parent e358862db7
commit c3345131c7
4 changed files with 5 additions and 5 deletions

View File

@ -53,7 +53,7 @@ webapp-static: addon-packer
# in `cmd/flamenco-manager/main.go`
yarn --cwd web/app build --outDir ../static --base=/app/
# yarn --cwd web/app build --outDir ../static --base=/app/ --minify false
./addon-packer -filename web/static/flamenco-addon.zip
./addon-packer -filename web/static/flamenco3-addon.zip
@echo "Web app has been installed into web/static"
generate: generate-go generate-py generate-js
@ -149,7 +149,7 @@ package: flamenco-manager flamenco-worker addon-packer
rm -rf dist-build
mkdir -p dist-build
cp -a flamenco-manager flamenco-worker dist-build/
cp -a web/static/flamenco-addon.zip dist-build/
cp -a web/static/flamenco3-addon.zip dist-build/
cp -a README.md LICENSE dist-build/
cd dist-build; zip -r -9 flamenco-${VERSION}.zip *
mkdir -p dist

View File

@ -145,7 +145,7 @@ func parseCliArgs() {
flag.BoolVar(&cliArgs.quiet, "quiet", false, "Only log warning-level and worse.")
flag.BoolVar(&cliArgs.debug, "debug", false, "Enable debug-level logging.")
flag.BoolVar(&cliArgs.trace, "trace", false, "Enable trace-level logging.")
flag.StringVar(&cliArgs.filename, "filename", "web/static/flamenco-addon.zip", "Filename to save the add-on to.")
flag.StringVar(&cliArgs.filename, "filename", "web/static/flamenco3-addon.zip", "Filename to save the add-on to.")
flag.Parse()
}

View File

@ -305,7 +305,7 @@ func buildWebService(
})
// Serve the Blender add-on. It's contained in the static files of the webapp.
e.GET("/flamenco-addon.zip", echo.WrapHandler(webAppHandler))
e.GET("/flamenco3-addon.zip", echo.WrapHandler(webAppHandler))
// Redirect / to the webapp.
e.GET("/", func(c echo.Context) error {

View File

@ -16,7 +16,7 @@
</nav>
<api-spinner />
<span class="app-version">
<a href="/flamenco-addon.zip">addon</a>
<a href="/flamenco3-addon.zip">addon</a>
| <a href="/api/swagger-ui/">API</a>
| version: {{ flamencoVersion }}
</span>