File tree 2 files changed +38
-1
lines changed
2 files changed +38
-1
lines changed Original file line number Diff line number Diff line change
1
+ image : node:latest
2
+
3
+ stages :
4
+ - release
5
+ - deploy
6
+
7
+ before_script :
8
+ - echo "$GITHUB_TOKEN"
9
+ - export GITHUB_TOKEN="$GITHUB_TOKEN"
10
+ - npm install -g github-release-cli
11
+
12
+ deploy:npm :
13
+ stage : deploy
14
+ tags :
15
+ - docker-in-docker
16
+ only :
17
+ - tags
18
+ script :
19
+ - echo "$NPM_TOKEN"
20
+ - npm config set //registry.npmjs.org/:_authToken "$NPM_TOKEN"
21
+ - npm publish --verbose
22
+
23
+ release:github :
24
+ stage : release
25
+ tags :
26
+ - docker-in-docker
27
+ only :
28
+ - tags
29
+ script :
30
+ - echo "$CI_COMMIT_TAG"
31
+ - echo "$GITHUB_USER"
32
+ - github-release upload \
33
+ --owner="$GITHUB_USER" \
34
+ --repo=faparser \
35
+ --tag="$CI_COMMIT_TAG" \
36
+ --name="$CI_COMMIT_TAG" \
37
+ --body="Release \"$CI_COMMIT_TAG\""
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " faparser" ,
3
- "version" : " 1.0.1 " ,
3
+ "version" : " 1.0.2 " ,
4
4
"description" : " Parser for Filmaffinity site" ,
5
5
"main" : " faparser.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments