Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
chifu1234 committed Sep 18, 2023
1 parent ccbbb4b commit 33cb036
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 31 deletions.
22 changes: 0 additions & 22 deletions .drone.yml

This file was deleted.

6 changes: 0 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,11 @@ do
echo "exists"
else
[ -d "${i}/cloud-init" ] && genisoimage -output ${i}/cloud-init/seed.img -volid cidata -joliet -rock ${i}/cloud-init/user-data ${i}/cloud-init/meta-data
new_release+=("$i-$v")
sudo packer init ${i}${i%/}.json.pkr.hcl
sudo PACKER_LOG=1 packer build -var-file $v ${i}${i%/}.json.pkr.hcl
sudo gzip ./tmp/${version}.qcow2
sudo mv ./tmp/${version}.qcow2.gz ${build_dir}
sudo chmod 777 ${build_dir}/*
rm ./tmp -rf
text="new version for ${i%/} in version ${tversion}"
release_id=$(curl -X POST -H "Authorization: Bearer $token" -H "X-GitHub-Api-Version: 2022-11-28" -H "Accept: application/vnd.github+json" --data "$(post_data)" "https://api.github.com/repos/$repo_full_name/releases" | jq .id)
#curl --data-binary @${build_dir}/${version}.qcow2.gz -H "Authorization: Bearer $token" -H "Content-Type: application/octet-stream" "https://uploads.github.com/repos/$repo_full_name/releases/$release_id/assets?name=${version}.qcow2.gz&access_token=$token"
#sudo rm -rf @${build_dir}/
git fetch --all --tags
fi
done
Expand Down
6 changes: 3 additions & 3 deletions debian/v11.version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "12",
"version_name": "bookworm",
"build_version": "20230910-1499",
"version": "11",
"version_name": "bullseye",
"build_version": "20230912-1501",
"iso_checksum": "9ce473f176735a0c54a0141dbce5090c"
}

0 comments on commit 33cb036

Please sign in to comment.