all: bump version to 1.2.2

This commit is contained in:
89luca89
2021-12-21 18:28:04 +01:00
parent 577e1dca95
commit 68df9d2216
5 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -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:
-2
View File
@@ -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