scripts/draft-release.sh: update to python3
Change-Id: Iabdf9283f77c1a8518f2373d39157d10e1daab6d
This commit is contained in:
parent
2522ff09b6
commit
4788b9ea3b
@ -17,7 +17,7 @@ FOLDER="${2-}"
|
|||||||
echo "Drafting release"
|
echo "Drafting release"
|
||||||
current_release_version=$(echo "$TAG" | cut -d '.' -f 1-2)
|
current_release_version=$(echo "$TAG" | cut -d '.' -f 1-2)
|
||||||
previous_release_version=$(git describe --tags $(git rev-list --exclude='*rc*' --exclude=$current_release_version* --tags --max-count=1))
|
previous_release_version=$(git describe --tags $(git rev-list --exclude='*rc*' --exclude=$current_release_version* --tags --max-count=1))
|
||||||
changelog=$(python scripts/changelog.py "$previous_release_version" "$TAG" 2>&1)
|
changelog=$(python3 scripts/changelog.py "$previous_release_version" "$TAG" 2>&1)
|
||||||
github-release release --user storj --repo storj --tag "$TAG" --description "$changelog" --draft
|
github-release release --user storj --repo storj --tag "$TAG" --description "$changelog" --draft
|
||||||
|
|
||||||
echo "Sleep 10 seconds in order to wait for release propagation"
|
echo "Sleep 10 seconds in order to wait for release propagation"
|
||||||
|
Loading…
Reference in New Issue
Block a user