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:
parent
49d471af0a
commit
acec8dfdcb
@ -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:
|
||||
|
@ -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
|
||||
|
@ -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>",
|
||||
|
Loading…
x
Reference in New Issue
Block a user