Skip to content

Commit

Permalink
prepare release pipeline for CalVer (#1683)
Browse files Browse the repository at this point in the history
* disable pre-releases

* remove v from tags

* enable CalVer on setup.py

* use release- in tag

* fix typo

* remove fetch depth option from test pipeline
  • Loading branch information
epassaro authored Jul 2, 2021
1 parent 01a3495 commit 58e4e79
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions azure-pipelines/release-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ jobs:
action: 'create'
target: '$(Build.SourceVersion)'
tagSource: 'userSpecifiedTag'
tag: 'v$(version)'
title: 'TARDIS v$(version)'
isPreRelease: true
tag: 'release-$(version)'
title: 'TARDIS $(version)'
isPreRelease: false
addChangeLog: true
changeLogCompareToRelease: 'lastNonDraftRelease'
changeLogCompareToRelease: 'lastFullRelease'
changeLogType: 'commitBased'
displayName: 'Create GitHub Release'
1 change: 0 additions & 1 deletion azure-pipelines/run-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
steps:
- template: templates/default.yml
parameters:
fetchDepth: 1
fetchRefdata: true
refdataRepo: 'azure'
useMamba: true
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,4 @@

setup(use_scm_version={'write_to': os.path.join('tardis', 'version.py'),
'write_to_template': VERSION_TEMPLATE,
#'version_scheme': 'calver-by-date'},
})
'version_scheme': 'calver-by-date'})

0 comments on commit 58e4e79

Please sign in to comment.