Skip to content

Commit

Permalink
Add "make firmwares" release target
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed May 28, 2020
1 parent e713392 commit 5c2a1c6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Expand Up @@ -7,6 +7,8 @@ Development
===========
- Add DS3231micro.py driver. Thanks, @poesel!
- Upgrade to PyCayenneLPP 1.5.0. Thanks, @smlng!
- Add "make firmwares" release target


2020-05-22 0.10.0
=================
Expand Down
13 changes: 13 additions & 0 deletions tools/release.mk
Expand Up @@ -134,6 +134,19 @@ packages: check-github-release make-github-release
MPY_TARGET=pycom MPY_VERSION=1.11 $(MAKE) create-mpy-archives platform=pycom
MPY_TARGET=bytecode MPY_VERSION=1.12 $(MAKE) create-mpy-archives platform=genuine

firmwares: prepare-release

$(MAKE) build-firmware-esp32-pycom

$(eval imagefile := dist/firmware/GPy-1.20.2.rc6-$(version)-annapurna.tar.gz)
$(github-release) upload --user hiveeyes --repo terkin-datalogger --tag $(version) --name $(notdir $(imagefile)) --file $(imagefile) --replace

$(eval imagefile := dist/firmware/LoPy4-1.20.2.rc6-$(version)-annapurna.tar.gz)
$(github-release) upload --user hiveeyes --repo terkin-datalogger --tag $(version) --name $(notdir $(imagefile)) --file $(imagefile) --replace

$(eval imagefile := dist/firmware/FiPy-1.20.2.rc6-$(version)-annapurna.tar.gz)
$(github-release) upload --user hiveeyes --repo terkin-datalogger --tag $(version) --name $(notdir $(imagefile)) --file $(imagefile) --replace

sdist:
@$(python3) setup.py sdist
@$(python3) setup_libraries.py bdist_wheel
Expand Down

0 comments on commit 5c2a1c6

Please sign in to comment.