Skip to content

Commit

Permalink
python variable cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
immauss committed Jul 21, 2023
1 parent 5722f11 commit cc6ab5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions bin/get-gvm-releases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ for repo in pg-gvm notus-scanner gvmd openvas openvas-smb gvm-libs openvas-scann
fi
done
for repo in python-gvm gvm-tools greenbone-feed-sync; do
python_gvm=$(curl -s -H "Authorization: token $Oauth" -L https://api.github.com/repos/greenbone/$repo/releases/latest | jq -r ".tarball_url" | awk -F/ '{print $NF}' )
echo "$repo current version is $python_gvm"
VERSION=$(curl -s -H "Authorization: token $Oauth" -L https://api.github.com/repos/greenbone/$repo/releases/latest | jq -r ".tarball_url" | awk -F/ '{print $NF}' )
echo "$repo current version is $VERSION"
VAR=$(echo $repo | tr - _ )
echo "$VAR=$python_gvm" >> build.rc
echo "$VAR=$VERSION" >> build.rc
COUNT=$( expr $COUNT + 1 )
LF=$( expr $COUNT % 2)
if [ $LF -eq 1 ]; then
Expand Down
4 changes: 2 additions & 2 deletions versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ Component | Version | | Component | Version
| openvas_smb | v22.5.3 | | gvm_libs | v22.6.3 |
| openvas_scanner | v22.7.3 | | gsa | v22.5.0 |
| gsad | v22.5.1 | | ospd | v21.4.4 |
| ospd_openvas | v22.5.3 | | python_gvm | v22.5.3 |
| gvm_tools | v22.5.3 | | greenbone_feed_sync | v22.5.3 |
| ospd_openvas | v22.5.3 | | python_gvm | v23.5.1 |
| gvm_tools | v23.4.0 | | greenbone_feed_sync | v23.7.0 |

0 comments on commit cc6ab5d

Please sign in to comment.