Skip to content

Commit

Permalink
Merge pull request #5 from blocklet/publish-to-dev-registry
Browse files Browse the repository at this point in the history
publish to dev registry
  • Loading branch information
NateRobinson committed Feb 26, 2021
2 parents c18ca92 + a4c90c7 commit 92d0ee5
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GIT_HUB_TOKEN: ${{ secrets.GIT_HUB_TOKEN }}
STAGING_REGISTRY: ${{ secrets.STAGING_REGISTRY }}
ABTNODE_DEV_STAGING_SK: ${{ secrets.ABTNODE_DEV_STAGING_SK }}
run: bash ./tools/publish.sh

- name: Release to Github
Expand Down
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.2.7 (February 26, 2021)

- publish to dev registry

## 1.2.6 (February 10, 2021)

- fix: preConfig hook
Expand Down Expand Up @@ -39,6 +43,3 @@
- fix: github actions config

## 1.1.0 (December 14, 2020)



3 changes: 1 addition & 2 deletions blocklet.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: kitchen-sink-blocklet
title: Kitchen Sink
version: 1.2.6
version: 1.2.7
description: Demo blocklet that showing how blocklet works in ABT node
files:
- blocklet.md
Expand Down Expand Up @@ -98,7 +98,6 @@ scripts:
preStart: node app/hooks/pre-start.js
preStop: node app/hooks/pre-stop.js
preUninstall: node app/hooks/pre-uninstall.js
preConfig: node app/hooks/pre-config.js
requirements:
abtnode: '>=1.1.10'
timeout:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"publishConfig": {
"access": "public"
},
"version": "1.2.6",
"version": "1.2.7",
"description": "Demo blocklet that showing how blocklet works in ABT node",
"files": [
"blocklet.md",
Expand Down
4 changes: 4 additions & 0 deletions tools/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ echo "SKIP_PREFLIGHT_CHECK=true" > ./.env
npm run bundle
npm publish .blocklet/bundle

echo "publishing to staging blocklet registry"
blocklet config registry ${STAGING_REGISTRY}
blocklet publish --developer-sk ${ABTNODE_DEV_STAGING_SK}

# deploy to remote ABT Node
# set +e
# NAME=$(cat package.json | grep name | head -n 1 | awk '{print $2}' | sed 's/"//g' | sed 's/,//g')
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.6
1.2.7

0 comments on commit 92d0ee5

Please sign in to comment.