release_version.txt -> VERSION

This commit is contained in:
Oleg Sheynin 2025-01-27 16:41:22 -05:00
parent 43c50befc4
commit 6bb62fc20c
4 changed files with 7 additions and 7 deletions

1
VERSION Normal file
View File

@ -0,0 +1 @@
1.9.8,release_version.txt -> VERSION

View File

@ -14,9 +14,9 @@ dist_user=cvttdist
dist_host="cloud21.cvtt.vpn" dist_host="cloud21.cvtt.vpn"
dist_ssh_port="22" dist_ssh_port="22"
dist_locations="cloud21.cvtt.vpn:22 hs01.cvtt.vpn:22"
# ---------------- Settings # ---------------- Settings
dist_locations="cloud21.cvtt.vpn:22 hs01.cvtt.vpn:22"
version_file="VERSION"
# ---------------- cmdline # ---------------- cmdline
prj= prj=
brnch=master brnch=master
@ -145,8 +145,8 @@ if [ "${?}" != "0" ]; then
fi fi
release_version=$(cat release_version.txt | awk -F',' '{print $1}') release_version=$(cat ${version_file} | awk -F',' '{print $1}')
whats_new=$(cat release_version.txt | awk -F',' '{print $2}') whats_new=$(cat ${version_file} | awk -F',' '{print $2}')
echo "--------------------------------" echo "--------------------------------"
@ -175,7 +175,7 @@ if [ "${project}" == "cvtt-rust" ]; then
release_dir=${prj_dir}/dist/${project} release_dir=${prj_dir}/dist/${project}
cmd_arr+=("mkdir -p ${release_dir}") cmd_arr+=("mkdir -p ${release_dir}")
cmd_arr+=("cp release_version.txt ${release_dir}") cmd_arr+=("cp ${version_file} ${release_dir}")
jq_cmd="jq '.packages[] | select(.targets[].kind[] == \"bin\") | .name'" jq_cmd="jq '.packages[] | select(.targets[].kind[] == \"bin\") | .name'"
apps=$(cargo metadata --no-deps --format-version 1 --manifest-path=${prj_dir}/Cargo.toml | eval $jq_cmd | uniq) apps=$(cargo metadata --no-deps --format-version 1 --manifest-path=${prj_dir}/Cargo.toml | eval $jq_cmd | uniq)

View File

@ -1 +0,0 @@
1.9.7,docker to use CONFIG_SERVICE

View File

@ -6,7 +6,7 @@ SUBDIRS += configs
FILES= FILES=
FILES += release_version.txt FILES += VERSION
all: install all: install