Skip to content

Commit bd52169

Browse files
Fix update-authors script execution in CI
1 parent 90dfdaa commit bd52169

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,11 @@ mirror:github:
5959
- develop
6060

6161
deploy:npm:
62-
image: node:alpine
62+
image: node:latest
6363
stage: deploy
6464
script:
65-
- apk add --no-cache git
6665
- npm install --quiet
67-
- scripts/update-authors.sh
66+
- sh scripts/update-authors.sh
6867
- echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'>.npmrc
6968
- npm publish --access public
7069
only:

scripts/update-authors.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
git log --reverse --format='%aN <%aE>' | perl -wnE '
44
print $seen{$_} = $_ unless $seen{$_}

0 commit comments

Comments
 (0)