Fix poetry publish needs username, tag not detected, release 1.0.0rc5

Signed-off-by: Dan Yeaw <dan@yeaw.me>
This commit is contained in:
Dan Yeaw 2019-03-22 23:30:15 -04:00
parent 49d471af0a
commit acec8dfdcb
No known key found for this signature in database
GPG Key ID: 77A923EF537B61A4
4 changed files with 8 additions and 6 deletions

View File

@ -18,11 +18,13 @@ jobs:
script:
- xvfb-run poetry run pytest
before_deploy:
- poetry config http-basic.pypi $PYPI_USER $PYPI_PASSWORD
- poetry build
deploy:
skip_cleanup: true
provider: script
script: poetry publish -u $PYPI_USER -p $PYPI_PASSWORD
script: |
poetry publish
draft: true
tag_name: $TRAVIS_TAG
on:

View File

@ -64,21 +64,21 @@ jobs:
%MSYS2_ROOT%\cmd\msystem MINGW64
bash -lc "win-installer/build.sh"
displayName: Create Windows Binaries
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/*'))
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'))
env:
MSYSTEM: $(MSYSTEM)
CHERE_INVOKING: yes
- task: CopyFiles@2
displayName: Copy Windows Binaries
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/*'))
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'))
inputs:
sourceFolder: win-installer
contents: '*.exe'
targetFolder: $(Build.ArtifactStagingDirectory)
- task: GitHubRelease@0
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/*'))
condition: and(succeeded(), contains(variables['Build.SourceBranch'], 'refs/tags/'))
displayName: Create GitHub Release
inputs:
gitHubConnection: GaphorConnection

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "gaphor"
version = "1.0.0rc4"
version = "1.0.0rc5"
description = "Gaphor is the simple modeling tool written in Python."
authors = [
"Arjan J. Molenaar <gaphor@gmail.com>",

View File

@ -16,7 +16,7 @@ from utils.command.build_pot import build_pot
from utils.command.build_uml import build_uml
from utils.command.install_lib import install_lib
VERSION = "1.0.0rc4"
VERSION = "1.0.0rc5"
LINGUAS = ["ca", "es", "fr", "nl", "sv"]
sys.path.insert(0, ".")