Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yankay committed Dec 16, 2021
1 parent a2818ba commit fc65cd6
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,15 @@ cross-build-container:
cross-release-container: cross-build-container
@docker buildx build --build-arg BASEIMAGE=$(BASEIMAGE) --platform $(TARGETS) -t "$(IMAGE)" --push --file ./Dockerfile .

# git checkout gh-pages first,merge the master to it
# then run `make helm-chart-release`
# then commit index.yaml to the branch
# run `make helm-chart-release`
# then commit index.yaml to the gh-pages branch
helm-chart-release:
@git checkout gh-pages # may run `git reset --hard` first
@git
@rm -rf index.yaml
@rm -rf .cr-release-packages
@cr package charts/
@cr upload -o daocloud -r dao-2048 -t $(GITHUB_TOKEN) --skip-existing
@helm repo index .
@echo cr index -o daocloud -r dao-2048 -t $(GITHUB_TOKEN) -c http://daocloud.github.io/dao-2048/ -i index.yaml
@helm repo index .
@cr index -o daocloud -r dao-2048 -t $(GITHUB_TOKEN) -c http://daocloud.github.io/dao-2048/ -i index.yaml



Expand Down
14 changes: 14 additions & 0 deletions index.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v1
entries:
dao-2048:
- apiVersion: v2
appVersion: 1.16.0
created: "2021-12-16T16:05:49.2717192+08:00"
description: 2048 is a number puzzle game.
digest: 0b006681dd62edceee105e0b0d6d584088d95e4ebc478e8687fbef64cde02636
name: dao-2048
type: application
urls:
- https://github.com/DaoCloud/dao-2048/releases/download/dao-2048-0.1.0/dao-2048-0.1.0.tgz
version: 0.1.0
generated: "2021-12-16T16:05:49.2717429+08:00"

0 comments on commit fc65cd6

Please sign in to comment.