Skip to content

Commit b7902eb

Browse files
committed
Merge branch 'release/1.0.2'
2 parents 0850f69 + 075d215 commit b7902eb

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

.gitlab-ci.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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\""

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "faparser",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "Parser for Filmaffinity site",
55
"main": "faparser.js",
66
"scripts": {

0 commit comments

Comments
 (0)