scripts: Switch release script to twine
The old procedure finally broke over a new distro version of the maintainer. Migrate to twine for uploading, that seems to work fine. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
		@@ -41,7 +41,8 @@ git commit -m "Release $NEW_VERSION"
 | 
				
			|||||||
git tag -s -m "Release $NEW_VERSION" "$NEW_VERSION"
 | 
					git tag -s -m "Release $NEW_VERSION" "$NEW_VERSION"
 | 
				
			||||||
git push --follow-tags
 | 
					git push --follow-tags
 | 
				
			||||||
 | 
					
 | 
				
			||||||
python setup.py sdist upload -r pypi
 | 
					python3 setup.py sdist
 | 
				
			||||||
 | 
					twine upload -r pypi "dist/kas-$NEW_VERSION.tar.gz"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
authors=$(git shortlog -s "$OLD_VERSION".."$NEW_VERSION" | cut -c8- | paste -s -d, - | sed -e 's/,/, /g')
 | 
					authors=$(git shortlog -s "$OLD_VERSION".."$NEW_VERSION" | cut -c8- | paste -s -d, - | sed -e 's/,/, /g')
 | 
				
			||||||
highlights=$(sed -e "/$OLD_VERSION/,\$d" CHANGELOG.md)
 | 
					highlights=$(sed -e "/$OLD_VERSION/,\$d" CHANGELOG.md)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user