Skip to content

Commit

Permalink
v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
heineiuo committed Apr 24, 2020
1 parent b6101b4 commit 3df2348
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release CI

on:
release:
types: [published]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: yarn build
run: |
yarn
yarn build
env:
CI: true
- name: npm login & publish
run: |
echo '//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}' > ~/.npmrc
npm publish
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-animated-linear-gradient",
"version": "1.2.0",
"version": "1.2.1",
"description": "Animated linear gradient as background animation or other.",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -34,4 +34,4 @@
"prop-types": "^15.6.0",
"rgb2hex": "^0.1.0"
}
}
}

0 comments on commit 3df2348

Please sign in to comment.