Skip to content
This repository was archived by the owner on Apr 22, 2024. It is now read-only.

Commit c410d47

Browse files
author
Brylie Christopher Oxley
authored
Merge pull request #44 from creativecommons/0.4.0-release-prep
0.4.0 release prep
2 parents 13928b1 + 5ea7740 commit c410d47

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@creativecommons/cc-global-components",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "Global components used across Creative Commons web properties.",
55
"keywords": [
66
"Vue.js",

publish.sh

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
set -o errexit
4+
set -o errtrace
5+
set -o nounset
6+
7+
trap '_es=${?};
8+
_lo=${LINENO};
9+
_co=${BASH_COMMAND};
10+
echo "${0}: line ${_lo}: \"${_co}\" exited with a status of ${_es}";
11+
exit ${_es}' ERR
12+
13+
echo "Deleting contents of dist folder"
14+
rm -rf dist/*
15+
16+
echo "Starting build"
17+
npm run build
18+
echo "Finished build"
19+
20+
echo "Starting publish"
21+
npm publish --access public

0 commit comments

Comments
 (0)