mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-06 07:30:40 +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
|
||||
on:
|
||||
tags: true
|
||||
condition: $BUILD_DOCKER = true && $TRAVIS_TAG != "latest"
|
||||
condition: $BUILD_DOCKER = true && $TRAVIS_TAG != "latest" && $TRAVIS_TAG != "nightly"
|
||||
|
||||
# Push to pypi
|
||||
- provider: script
|
||||
@ -60,4 +60,4 @@ deploy:
|
||||
skip_cleanup: true
|
||||
on:
|
||||
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:
|
||||
$(MAKE) bundle
|
||||
|
||||
tag: ## Create a release, update the "latest" tag and push them to origin
|
||||
$(MAKE) retag TAG=v$(shell make version)
|
||||
$(MAKE) retag TAG=latest
|
||||
nightly: ## Create a "nightly" release
|
||||
$(MAKE) tag TAG=nightly
|
||||
|
||||
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)"
|
||||
git tag -d $(TAG) || true
|
||||
git tag $(TAG)
|
||||
|
@ -42,4 +42,6 @@ Releasing a new version
|
||||
- Replace "Latest" by the version name in CHANGELOG.md.
|
||||
- Create a commit with the version changelog.
|
||||
- ``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