Date: 15/12/2015
Software: OH Auto Statistical
River: Eden
| from distutils.version import LooseVersion | |
| import json | |
| import threading | |
| import request | |
| __version__ = '0.0.0' | |
| Update = namedtuple('Update', ['version', 'url']) |
| Param( | |
| $recipe, | |
| [switch] $upload = $false | |
| ) | |
| $user = 'faph' | |
| $channel = 'dev' | |
| $pyversions = '3.3', '3.4', '3.5' | |
| $build_platform = 'win-64' | |
| $other_platforms = 'osx-64', 'linux-64' |
| "%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt |
| import pyproj | |
| COORDS = { | |
| # OSGB_1936_To_WGS_1984_Petroleum transformation | |
| 'gb': pyproj.Proj('+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=400000 +y_0=-100000 +ellps=airy ' + | |
| '+towgs84=446.448000,-125.157000,542.060000,0.150000,0.247000,0.842000,-20.489000 ' + | |
| '+units=m +no_defs'), | |
| # TM75_To_WGS_1984_2 transformation | |
| 'ni': pyproj.Proj('+proj=tmerc +lat_0=53.5 +lon_0=-8 +k=1.000035 +x_0=200000 +y_0=250000 +ellps=mod_airy ' + | |
| '+towgs84=482.530000,-130.596000,564.557000,-1.042000,-0.214000,-0.631000,8.150000 ' + |
| jobs: | |
| build: | |
| steps: | |
| - name: Configure git | |
| run: | | |
| git config --global committer.email "noreply@github.com" | |
| git config --global committer.name "GitHub" | |
| git config --global author.email "${GITHUB_ACTOR}@users.noreply.github.com" | |
| git config --global author.name "${GITHUB_ACTOR}" | |
| - name: Commit and push build dir |
Life is too short for tedious, manual release processes.
Here, we will use Maven's [Release plugin][maven-release] to execute releases.
Instead of triggering the release process manually, we will use a
[GitHub Actions][gh-actions] workflow on the master branch. All development
work is done on the dev branch (or feature branches) and a release is done
when (and only when) the dev branch is merged with the master branch.