File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ '''
2+ Before use, install releash:
3+ * $ python -m pip install releash
4+ * Install hub (to do a PR from the command line) https://hub.github.com/
5+ Workflow:
6+ * releash status
7+ * releash bump -i -v
8+ * releash release -i -v
9+ Lose the -i (interactive) and -v (verbose) when comfortable
10+ '''
11+
12+ from releash import *
13+ gitpush = ReleaseTargetGitPush ()
14+
15+ xfftw = add_package (path = "." , name = "xtensor-fftw" )
16+ version_xfftw = VersionSourceAndTargetHpp (xfftw , '{path}/include/xtensor-fftw/xtensor-fftw_config.hpp' , prefix = 'XTENSOR_FFTW_VERSION_' )
17+ gittag_xfftw = ReleaseTargetGitTagVersion (version_source = version_xfftw , prefix = '' , annotate = True )
18+
19+ xfftw .version_source = version_xfftw
20+
21+ xfftw .version_targets .append (version_xfftw )
22+ xfftw .release_targets .append (gittag_xfftw )
23+ xfftw .release_targets .append (gitpush )
24+
25+ source_tarball_filename = 'https://github.com/egpbos/xtensor-fftw/archive/{version}.tar.gz' .format (version = version_xfftw )
26+ # uncomment when you have a feedstock
27+ #xfftw.release_targets.append(ReleaseTargetCondaForge(xfftw, '../xtensor-fftw-feedstock', source_tarball_filename=source_tarball_filename))
28+
You can’t perform that action at this time.
0 commit comments