-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow for the installation of plugins
- Loading branch information
1 parent
3c8670e
commit d2d458f
Showing
4 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
FROM node:lts-alpine | ||
RUN apk update && apk add git | ||
RUN npm install -g semantic-release@17.0.7 \ | ||
RUN npm install -g semantic-release@17.1.1 \ | ||
@semantic-release/commit-analyzer@8.0.1 \ | ||
@semantic-release/release-notes-generator@9.0.1 \ | ||
@semantic-release/github@7.0.5 \ | ||
@semantic-release/github@7.0.7 \ | ||
@semantic-release/npm@7.0.5 \ | ||
@semantic-release/exec@5.0.0 \ | ||
@semantic-release/changelog@5.0.1 \ | ||
@semantic-release/git@9.0.0 \ | ||
@semantic-release/gitlab@6.0.4 | ||
RUN apk add --update make \ | ||
&& rm -rf /var/cache/apk/* | ||
&& rm -rf /var/cache/apk/* | ||
COPY *.sh / | ||
RUN chmod +x /main.sh /setup.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#! /bin/sh | ||
semantic-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#! /bin/sh | ||
if [ ".npmrc" ]; then | ||
cp .npmrc ~/ | ||
fi | ||
if [ "$PLUGINS" != "" ]; then | ||
npm install --ignore-scripts -g $PLUGINS | ||
fi | ||
if [ "~/.npmrc" ]; then | ||
rm ~/.npmrc | ||
fi | ||
if [ "$PLUGINS" != "" ]; then | ||
npm rebuild -g $PLUGINS | ||
fi |