Skip to content

Commit

Permalink
Optimize the version control for debian packages
Browse files Browse the repository at this point in the history
  • Loading branch information
xumia committed Apr 7, 2023
1 parent 9b76924 commit 6f21c57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sonic-build-hooks/scripts/buildinfo_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,9 @@ update_version_file()
update_version_files()
{
local version_names="versions-deb versions-py2 versions-py3"
if [ "$MIRROR_SNAPSHOT" == y ]; then
version_names="versions-py2 versions-py3"
fi
for version_name in $version_names; do
update_version_file $version_name
done
Expand Down

0 comments on commit 6f21c57

Please sign in to comment.