Skip to content

Commit

Permalink
fix extended version info source
Browse files Browse the repository at this point in the history
  • Loading branch information
greyfenrir committed Sep 24, 2020
1 parent ea21ad4 commit f0388a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pipeline {

}
sh """
echo "BUILD_NUM = \"${BUILD_NUMBER}\"" > bzt/resources/version/version.py
echo "BUILD_NUM = \"${BUILD_NUMBER}\"" > bzt/resources/version/build.py
"""
}
}
Expand Down
2 changes: 1 addition & 1 deletion build-sdist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ echo "Getting build info"
VERSION=$(git describe --tags $(git rev-list --tags --max-count=1))
GIT_INFO="$(git rev-parse --abbrev-ref HEAD) $(git show --oneline -s)"
echo "VERSION=\"$VERSION\"" > bzt/resources/version/version.py
echo "GIT_INFO=\"$GIT_INFO\"" > bzt/resources/version/git_info.py
echo "GIT_INFO=\"$GIT_INFO\"" > bzt/resources/version/gitinfo.py

echo "Cleaning environment"
python3 setup.py clean
Expand Down

0 comments on commit f0388a4

Please sign in to comment.