Skip to content

Commit 3df2348

Browse files
committed
v1.2.1
1 parent b6101b4 commit 3df2348

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

.github/release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Release CI
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
node-version: [12.x]
15+
16+
steps:
17+
- uses: actions/checkout@v1
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- name: yarn build
23+
run: |
24+
yarn
25+
yarn build
26+
env:
27+
CI: true
28+
- name: npm login & publish
29+
run: |
30+
echo '//registry.npmjs.org/:_authToken=${{secrets.NPM_TOKEN}}' > ~/.npmrc
31+
npm publish
32+

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-animated-linear-gradient",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "Animated linear gradient as background animation or other.",
55
"main": "index.js",
66
"scripts": {
@@ -34,4 +34,4 @@
3434
"prop-types": "^15.6.0",
3535
"rgb2hex": "^0.1.0"
3636
}
37-
}
37+
}

0 commit comments

Comments
 (0)