mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-07 16:04:02 +00:00
Introduce the concept of "nightly" release
This commit is contained in:
parent
604093217f
commit
949761aa29
@ -52,7 +52,7 @@ deploy:
|
|||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
condition: $BUILD_DOCKER = true && $TRAVIS_TAG != "latest"
|
condition: $BUILD_DOCKER = true && $TRAVIS_TAG != "latest" && $TRAVIS_TAG != "nightly"
|
||||||
|
|
||||||
# Push to pypi
|
# Push to pypi
|
||||||
- provider: script
|
- provider: script
|
||||||
@ -60,4 +60,4 @@ deploy:
|
|||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
condition: $BUILD_PYPI = true && $TRAVIS_TAG != "latest"
|
condition: $BUILD_PYPI = true && $TRAVIS_TAG != "latest" && $TRAVIS_TAG != "nightly"
|
||||||
|
11
Makefile
11
Makefile
@ -14,11 +14,14 @@ bundle: ## Bundle the tutor package in a single "dist/tutor" executable
|
|||||||
dist/tutor:
|
dist/tutor:
|
||||||
$(MAKE) bundle
|
$(MAKE) bundle
|
||||||
|
|
||||||
tag: ## Create a release, update the "latest" tag and push them to origin
|
nightly: ## Create a "nightly" release
|
||||||
$(MAKE) retag TAG=v$(shell make version)
|
$(MAKE) tag TAG=nightly
|
||||||
$(MAKE) retag TAG=latest
|
|
||||||
|
|
||||||
retag:
|
release: ## Create a release, update the "latest" tag and push them to origin
|
||||||
|
$(MAKE) tag TAG=v$(shell make version)
|
||||||
|
$(MAKE) tag TAG=latest
|
||||||
|
|
||||||
|
tag:
|
||||||
@echo "=== Creating tag $(TAG)"
|
@echo "=== Creating tag $(TAG)"
|
||||||
git tag -d $(TAG) || true
|
git tag -d $(TAG) || true
|
||||||
git tag $(TAG)
|
git tag $(TAG)
|
||||||
|
@ -42,4 +42,6 @@ Releasing a new version
|
|||||||
- Replace "Latest" by the version name in CHANGELOG.md.
|
- Replace "Latest" by the version name in CHANGELOG.md.
|
||||||
- Create a commit with the version changelog.
|
- Create a commit with the version changelog.
|
||||||
- ``git push``
|
- ``git push``
|
||||||
- ``make tag``
|
- ``make release``
|
||||||
|
|
||||||
|
After a regular push to ``master``, run ``make nightly`` to update the "nightly" tag.
|
||||||
|
Loading…
Reference in New Issue
Block a user