Skip to content

Commit

Permalink
CDN upload fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anoek committed Jun 26, 2024
1 parent ceacedf commit 0775222
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
10 changes: 4 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ SLACK_WEBHOOK=$(shell cat ../ogs/.slack-webhook)
all dev:
yarn run dev

build: lib

lib: build-debug build-production
build: build-debug build-production

build-debug:
yarn run build-debug
Expand Down Expand Up @@ -71,9 +69,9 @@ notify:
upload_to_cdn:
rm -Rf deployment-staging-area;
mkdir deployment-staging-area;
cp lib/goban.js* deployment-staging-area
cp lib/goban.min.js* deployment-staging-area
cp build/goban.js* deployment-staging-area
cp build/goban.min.js* deployment-staging-area
gsutil -m rsync -r deployment-staging-area/ gs://ogs-site-files/goban/`node -pe 'JSON.parse(require("fs").readFileSync("package.json")).version'`/

.PHONY: doc build docs test clean all dev typedoc publish push lib publish-production upload_to_cdn notify beta beta_npm publish-beta publish_docs build-debug build-production detect-duplicate-code duplicate-code-detection lint
.PHONY: doc build docs test clean all dev typedoc publish push build publish-production upload_to_cdn notify beta beta_npm publish-beta publish_docs build-debug build-production detect-duplicate-code duplicate-code-detection lint

2 changes: 1 addition & 1 deletion engine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "goban-engine",
"version": "8.3.1-beta",
"version": "8.3.3",
"description": "",
"main": "build/goban-engine.js",
"types": "build/engine/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "goban",
"version": "8.3.1-beta",
"version": "8.3.3",
"description": "",
"main": "build/goban.js",
"types": "build/src/index.d.ts",
Expand Down

0 comments on commit 0775222

Please sign in to comment.