@hedia/types 2.1.26-alpha.32 → 2.1.26-alpha.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,12 @@ jobs:
16
16
  uses: actions/setup-node@v1.4.4
17
17
  with:
18
18
  node-version: ${{ matrix.node-version }}
19
- - uses: JS-DevTools/npm-publish@v1
19
+ - id: publish-alpha
20
+ uses: JS-DevTools/npm-publish@v1
20
21
  with:
21
22
  token: ${{ env.NPM_TOKEN }}
22
23
  tag: alpha
24
+ - if: steps.publish-alpha.outputs.type == 'none'
25
+ run: |
26
+ echo "Package JSON version is already published, please bump the version!"
27
+ exit 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedia/types",
3
- "version": "2.1.26-alpha.32",
3
+ "version": "2.1.26-alpha.33",
4
4
  "description": "Enums, interfaces, and other common types for use in Hedia's software.",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
package/post-release.sh CHANGED
@@ -3,4 +3,4 @@ if [ "$alphaNumber" != "" ];
3
3
  then
4
4
  sed -i 's/\("version": "[0-9]\+\.[0-9]\+\.[0-9]\+\)\(-alpha\.\)\([0-9]\+\)\("\)/\1\4/' package.json
5
5
  echo "Removing alpha bit!"
6
- fi
6
+ fi