Skip to content

Commit

Permalink
bump version 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cadgerfeast committed Mar 5, 2021
1 parent 4e57c6f commit 2594d8b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ jobs:
run: npm run build
- name: Test
run: npm run test
# - name: Env
# id: env
# run: |
# LATEST=`npm view . version`
# CURRENT=`cat package.json | jq -r .version`
# if [ "$LATEST" != "$CURRENT" ]
# then
# echo ::set-output name=VERSION::$CURRENT
# echo ::set-output name=SHOULD_RELEASE::true
# echo current version is $CURRENT
# fi
- name: Env
id: env
run: |
LATEST=`npm view . version`
CURRENT=`cat package.json | jq -r .version`
if [ "$LATEST" != "$CURRENT" ]
then
echo ::set-output name=VERSION::$CURRENT
echo ::set-output name=SHOULD_RELEASE::true
echo current version is $CURRENT
fi
- name: Fix Coverage Paths
working-directory: ./coverage
run: |
Expand All @@ -72,9 +72,8 @@ jobs:
personal_token: ${{ secrets.ACCESS_TOKEN }}
publish_dir: ./docs/dist
- name: Release
# if: github.event_name == 'push' && steps.env.outputs.SHOULD_RELEASE == 'true'
# run: npx release-it --ci --verbose --disable-metrics --increment=${{steps.env.outputs.VERSION}}
run: npx release-it --ci --verbose --disable-metrics --increment=0.0.1
if: github.event_name == 'push' && steps.env.outputs.SHOULD_RELEASE == 'true'
run: npx release-it --ci --verbose --disable-metrics --increment=${{steps.env.outputs.VERSION}}
env:
GIT_AUTHOR_NAME: Github Action
GIT_AUTHOR_EMAIL: action@github.com
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "modkit-loader",
"version": "0.0.1",
"version": "0.0.2",
"description": "Runtime Module Loader",
"main": "dist/commonjs/index.js",
"typings": "dist/types/index.d.ts",
Expand Down

0 comments on commit 2594d8b

Please sign in to comment.