mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
document release procedure
This commit is contained in:
@@ -204,9 +204,13 @@ dev: ## Build for the current development platform
|
||||
@cp $(PROJECT_ROOT)/$(DEV_TARGET) $(PROJECT_ROOT)/bin/
|
||||
@cp $(PROJECT_ROOT)/$(DEV_TARGET) $(GOPATH)/bin
|
||||
|
||||
.PHONY: prerelease
|
||||
prerelease: GO_TAGS="ui"
|
||||
prerelease: check generate ember-dist static-assets ## Generate all the static assets for a Nomad release
|
||||
|
||||
.PHONY: release
|
||||
release: GO_TAGS="ui"
|
||||
release: clean ember-dist static-assets $(foreach t,$(ALL_TARGETS),pkg/$(t).zip) ## Build all release packages which can be built on this platform.
|
||||
release: clean $(foreach t,$(ALL_TARGETS),pkg/$(t).zip) ## Build all release packages which can be built on this platform.
|
||||
@echo "==> Results:"
|
||||
@tree --dirsfirst $(PROJECT_ROOT)/pkg
|
||||
|
||||
|
||||
24
dev/guides/releasing.md
Normal file
24
dev/guides/releasing.md
Normal file
@@ -0,0 +1,24 @@
|
||||
This guide provides step by step guidance for cutting a new release of Nomad.
|
||||
|
||||
1. Bump the version in `version/version.go`
|
||||
2. Run `make prerelease`
|
||||
3. Commit any changed, generated files.
|
||||
4. On the Linux Vagrant run `make release`
|
||||
5. `mv pkg/ pkg2/`
|
||||
6. On a Mac, run `make release`
|
||||
7. `mv pkg2/* pkg/`
|
||||
8. `./scripts/dist.sh <version>`. Formating of <version> is 0.x.x(-|rcx|betax)
|
||||
|
||||
# Only on final releases
|
||||
|
||||
1. Add the new version to checkpoint.
|
||||
|
||||
# Modifying the webiste
|
||||
|
||||
Assuming master is the branch you want the website to reflect
|
||||
|
||||
1. On master, bump the version in `website/config.rb`
|
||||
2. Delete the remote stable-website branch (`git push -d origin stable-website`)
|
||||
3. Create the new stable webiste, `git checkout -b stable-webiste`
|
||||
4. `git push origin stable-website
|
||||
5. In Slack run, `hashibot deploy nomad`
|
||||
Reference in New Issue
Block a user