mirror of https://github.com/crossplane/docs.git
Changes for moving docs source of truth (#243)
* Create new release issue template Signed-off-by: Pete Lumbis <pete@upbound.io> * add an issue title Signed-off-by: Pete Lumbis <pete@upbound.io> * indicate user should supply a version number Signed-off-by: Pete Lumbis <pete@upbound.io> * Remove publish directive Signed-off-by: Pete Lumbis <pete@upbound.io> Signed-off-by: Pete Lumbis <pete@upbound.io>
This commit is contained in:
parent
d2e3778974
commit
1d676f8aad
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
name: New Release
|
||||
title: "Release Crossplane version... "
|
||||
about: Cut a Crossplane release
|
||||
labels: release
|
||||
---
|
||||
|
||||
- [ ] Update the `/latest` redirect in [netlify.toml](https://github.com/crossplane/docs/blob/master/netlify.toml#L9)
|
||||
- [ ] Update `params.latest` in [config.yaml](https://github.com/crossplane/docs/blob/master/config.yaml#L48)
|
14
Makefile
14
Makefile
|
@ -90,17 +90,3 @@ build: $(HUGO)
|
|||
# NOTE(hasheddan): this target exists so that validation can expand to inlude
|
||||
# other actions rather than just building.
|
||||
validate: build
|
||||
|
||||
# Push new changes to the live site.
|
||||
publish:
|
||||
$(eval ROOT_DIR = $(shell pwd -P))
|
||||
git -C "$(ROOT_DIR)" add -A
|
||||
@if git -C "$(ROOT_DIR)" diff-index --cached --quiet HEAD --; then\
|
||||
echo "no changes detected";\
|
||||
else \
|
||||
echo "committing changes...";\
|
||||
git -C "$(ROOT_DIR)" -c user.email="info@crossplane.io" -c user.name="Crossplane" commit --message="docs snapshot for crossplane version \`$(DOCS_VERSION)\`"; \
|
||||
echo "pushing changes..."; \
|
||||
git -C "$(ROOT_DIR)" push; \
|
||||
echo "crossplane.github.io changes published"; \
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue