mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-30 10:31:45 +03:00
36eee37220
* Restructure the repository * lock file * fmt * fix bench * fix cli template test * remove accidental file * fix mv command * clippy * upgrade paths-filter github action * fix cli migration tests * lockfile * license headers * clippy * scope test-core to tauri crate * license header * correct --manifest-path usage * lockfile * fix tauri-driver on macOS [skip ci] * build target ios * try downgrade env_logger * downgrade 0.1.7 * try to fix bench * bench overflow * revert overflow fix, fix tauri_root_path * revert env_logger downgrade * fmt * raise msrv to 1.71 * fmt * delete .cargo/config.toml [skip ci] --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
24 lines
496 B
Bash
Executable File
24 lines
496 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Copyright 2019-2024 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 ../../crates/tauri-cli/LICENSE* ../../crates/tauri-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
|