Skip to content

Commit

Permalink
Set azure pipelines to build only on tagged releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Blumberg committed Sep 21, 2019
1 parent fd8b0c5 commit a5405e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# MUST CHANGE TRIGGER SO BUILDS HAPPEN ON OTHER BRANCHES AND PULL REQUESTS
trigger:
- andover

branches:
include:
- andover
tags:
include:
- v*
# Setup build strategy (listing the various VMs and configurations we'll use)
strategy:
matrix:
Expand Down
4 changes: 3 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@
# -- Project information -----------------------------------------------------

project = 'SHARPpy'
copyright = '2018, Blumberg, W.G, Halbert, K.T., Supinie, T.A., Marsh, P.T., Thompson, R., and J. Hart'
copyright = '2019, Blumberg, W.G, Halbert, K.T., Supinie, T.A., Marsh, P.T., Thompson, R., and J. Hart'
author = 'Blumberg, W.G, Halbert, K.T., Supinie, T.A., Marsh, P.T., Thompson, R., and J. Hart'

from sharppy._version import get_versions
# The short X.Y version
version = get_versions()['version']
# The full version, including alpha/beta/rc tags
release = get_versions()['version']
release = release.split('+')[0]
version = release.split('+')[0]
del get_versions

# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit a5405e2

Please sign in to comment.