Skip to content

Commit

Permalink
addednew workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rupeshtiwari committed Feb 9, 2021
1 parent 12ea6c4 commit 928c917
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ jobs:
with:
name: deploy_coverage
path: coverage
- name: Archive Build to Releases
uses: ncipollo/release-action@v1
- name: Get Tag Name
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Create release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
artifacts: "dist/fsms-angular-pubsub/*"
token: ${{ secrets.GH_TOKEN }}
release_name: Release ${{ env.RELEASE_VERSION }}
tag_name: ${{ env.RELEASE_VERSION }}
body_path: CHANGELOG.md.md
5 changes: 0 additions & 5 deletions RELEASE_BODY.md

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fsms/angular-pubsub-app",
"version": "1.0.11",
"version": "1.0.12",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand All @@ -12,7 +12,7 @@
"build:ci": "npm run clean && npm run build:prod && npm run copyfiles",
"test:ci": "ng test fsms-angular-pubsub --watch=false --browsers=ChromeHeadless --code-coverage=true",
"copyfiles": "copyfiles -f README.md dist/fsms-angular-pubsub",
"release:git": "standard-version --release-as patch -i RELEASE_BODY.md && git add . package.json && git commit -m \"chore: bump version number\" && git push --follow-tags origin main",
"release:git": "standard-version --release-as patch && git add . package.json && git commit -m \"chore: bump version number\" && git push --follow-tags origin main",
"release:npm": "npm run build:ci && npm publish dist/fsms-angular-pubsub",
"release": "npm run release:git && npm run release:npm",
"postinstall": "ngcc"
Expand Down
2 changes: 1 addition & 1 deletion projects/fsms-angular-pubsub/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fsms/angular-pubsub",
"version": "1.0.11",
"version": "1.0.12",
"peerDependencies": {
"@angular/common": "^10.1.6",
"@angular/core": "^10.1.6"
Expand Down

0 comments on commit 928c917

Please sign in to comment.