Skip to content

Commit

Permalink
|\ merge from release-0.9.1, released as release-0.9.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
StyXman committed Dec 7, 2016
2 parents f9bf855 + f14bd20 commit 5e93e7c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
9 changes: 9 additions & 0 deletions ChangeLog.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
ayrton (0.9.1) unstable; urgency=medium

* The 'Brown Paper Bag' release, probably Pt2.
* `ayrton-0.9` has debug on. It will leave lots of files laying around your file system.
* Modify the release script to do not allow this never ever more.
* `make install` was not running the tests.

-- Marcos Dione <[email protected]> Wed, 07 Dec 2016 13:56:44 +0100

ayrton (0.9) unstable; urgency=medium

* The 'No Government' release.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ quicktest:
docs:
RUNNERPATH=${PWD} make -C doc html

install:
install: tests
$(RUNNER) setup.py install --prefix=$(INSTALL_DIR)

unsafe-install:
Expand Down
4 changes: 2 additions & 2 deletions ayrton/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def counter_handler (): # pragma: no cover
# uncomment next line and change level for way too much debugging
# during tests execution
# for running ayrton in the same mode, use the -d options
set_debug (level=logging.DEBUG)
# set_debug (level=logging.DEBUG)

logger= logging.getLogger ('ayrton')

Expand All @@ -109,7 +109,7 @@ def counter_handler (): # pragma: no cover
from ayrton.parser.astcompiler.astbuilder import ast_from_node
from ayrton.ast_pprinter import pprint

__version__= '0.9'
__version__= '0.9.1'


class ExecParams:
Expand Down
8 changes: 7 additions & 1 deletion release.ay
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#! /usr/bin/env ayrton

import logging

import ayrton

option ('-e')
Expand All @@ -20,6 +22,10 @@ if make ('install'): # this includes tests

# git ('checkout', -b="release-%s" % ayrton.__version__)

if 0 < logging.root.level < 30:
print ("logging is at %d, I can't release like this!" % logging.root.level)
exit (1)

dch (--changelog='ChangeLog.rst', --newversion=ayrton.__version__)
dch (--changelog='ChangeLog.rst', --release=True)
commited= git ('commit', 'ChangeLog.rst',
Expand All @@ -35,7 +41,7 @@ if make ('install'): # this includes tests

# release
python3 ('setup.py', 'sdist', 'upload')
nvie ('release', ayrton.__version__)
nvie ('release', 'release-'+ayrton.__version__)
git ('push')
# TODO: does github have an API for making a release?
# no they don't yet

0 comments on commit 5e93e7c

Please sign in to comment.