Skip to content

Commit

Permalink
fix: ci did not create tag for rippledb-deno (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
heineiuo authored Jul 6, 2020
1 parent 65d93d3 commit fef2c15
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,24 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Build
- name: Cache
id: cache-node-modules
uses: actions/cache@v2
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}

- name: Install Dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: |
npm -v
npm install
env:
CI: true

- name: Build
run: |
npm run build
npm run build:tsc
npm run build:fixture
Expand Down Expand Up @@ -75,9 +90,12 @@ jobs:
if: |
github.event_name == 'push' && contains(github.ref, 'refs/tags/')
run: |
cd ripple-deno
git tag ${TAG_NAME}
cd rippledb-deno
echo new tag $TAG_NAME
git tag $TAG_NAME
git push
git push --tags
git push --follow-tags
cd ..
env:
TAG_NAME: ${{ steps.changelog.outputs.tag_name }}
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": "rippledb",
"version": "1.0.0-rc.3",
"version": "1.0.0-rc.9",
"main": "build/port/node.js",
"repository": "https://github.com/heineiuo/rippledb",
"author": "heineiuo <heineiuo@gmail.com>",
Expand Down

0 comments on commit fef2c15

Please sign in to comment.