mirror of
https://github.com/89luca89/distrobox.git
synced 2026-08-19 01:14:49 -05:00
all: bump version to 1.2.2
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ container_user_uid="$(id -ru)"
|
||||
distrobox_entrypoint_path="$(command -v distrobox-init)"
|
||||
distrobox_export_path="$(command -v distrobox-export)"
|
||||
verbose=0
|
||||
version="distrobox_version_placeholder"
|
||||
version="1.2.2"
|
||||
|
||||
# Print usage to stdout.
|
||||
# Arguments:
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ container_command="$(basename "${container_command}") -l"
|
||||
container_name="fedora-toolbox-35"
|
||||
headless=0
|
||||
verbose=0
|
||||
version="distrobox_version_placeholder"
|
||||
version="1.2.2"
|
||||
|
||||
# Print usage to stdout.
|
||||
# Arguments:
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ exported_service=""
|
||||
extra_flags=""
|
||||
is_sudo=""
|
||||
verbose=0
|
||||
version="distrobox_version_placeholder"
|
||||
version="1.2.2"
|
||||
|
||||
# We depend on some commands, let's be sure we have them
|
||||
base_dependencies="basename grep sed find"
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ trap '[ "$?" -ne 0 ] && printf "Error: An error occurred\n"' EXIT
|
||||
|
||||
# Defaults
|
||||
verbose=0
|
||||
version="distrobox_version_placeholder"
|
||||
version="1.2.2"
|
||||
|
||||
# Print usage to stdout.
|
||||
# Arguments:
|
||||
|
||||
@@ -69,7 +69,6 @@ if [ -f "${curr_dir}/distrobox-enter" ]; then
|
||||
fi
|
||||
for file in distrobox-*; do
|
||||
cp "${file}" "${dest_path}"
|
||||
sed -i "s/distrobox_version_placeholder/${release_ver}/g" "${dest_path}/${file}"
|
||||
chmod 0755 "${dest_path}/${file}"
|
||||
done
|
||||
else
|
||||
@@ -91,7 +90,6 @@ else
|
||||
# deploy our files
|
||||
for file in "distrobox-$(echo "${release_name}" | sed 's/.tar.gz//g')"/distrobox-*; do
|
||||
cp "${file}" "${dest_path}"
|
||||
sed -i "s/distrobox_version_placeholder/$(echo "${release_name}" | sed 's/.tar.gz//g')/g" "${dest_path}/$(basename "${file}")"
|
||||
chmod 0755 "${dest_path}/$(basename "${file}")"
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user