mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-20 09:11:55 +03:00
fc2e4083b0
* ci: check for change tag * fix workflow * Update .scripts/ci/check-change-tags.js * feat: also check if tag is known seems like covector does not check that so we can do it here for now * remove push run * only check changed files * add missing tag --------- Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
24 lines
486 B
Bash
Executable File
24 lines
486 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
set -euxo pipefail
|
|
|
|
for o in outputs/*; do
|
|
pushd "$o"
|
|
|
|
chmod +x cargo-tauri*
|
|
cp ../../tooling/cli/LICENSE* ../../tooling/cli/README.md .
|
|
|
|
target=$(basename "$o" | cut -d. -f1)
|
|
if grep -qE '(apple|windows)' <<< "$target"; then
|
|
zip "../${target}.zip" *
|
|
else
|
|
tar cv * | gzip -9 > "../${target}.tgz"
|
|
fi
|
|
|
|
popd
|
|
done
|