Skip to content

Commit 928c917

Browse files
committed
addednew workflow
1 parent 12ea6c4 commit 928c917

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/github-actions.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,13 @@ jobs:
4646
with:
4747
name: deploy_coverage
4848
path: coverage
49-
- name: Archive Build to Releases
50-
uses: ncipollo/release-action@v1
49+
- name: Get Tag Name
50+
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
51+
- name: Create release
52+
uses: actions/create-release@v1
53+
env:
54+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
5155
with:
52-
artifacts: "dist/fsms-angular-pubsub/*"
53-
token: ${{ secrets.GH_TOKEN }}
56+
release_name: Release ${{ env.RELEASE_VERSION }}
57+
tag_name: ${{ env.RELEASE_VERSION }}
58+
body_path: CHANGELOG.md.md

RELEASE_BODY.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fsms/angular-pubsub-app",
3-
"version": "1.0.11",
3+
"version": "1.0.12",
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",
@@ -12,7 +12,7 @@
1212
"build:ci": "npm run clean && npm run build:prod && npm run copyfiles",
1313
"test:ci": "ng test fsms-angular-pubsub --watch=false --browsers=ChromeHeadless --code-coverage=true",
1414
"copyfiles": "copyfiles -f README.md dist/fsms-angular-pubsub",
15-
"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",
15+
"release:git": "standard-version --release-as patch && git add . package.json && git commit -m \"chore: bump version number\" && git push --follow-tags origin main",
1616
"release:npm": "npm run build:ci && npm publish dist/fsms-angular-pubsub",
1717
"release": "npm run release:git && npm run release:npm",
1818
"postinstall": "ngcc"

projects/fsms-angular-pubsub/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fsms/angular-pubsub",
3-
"version": "1.0.11",
3+
"version": "1.0.12",
44
"peerDependencies": {
55
"@angular/common": "^10.1.6",
66
"@angular/core": "^10.1.6"

0 commit comments

Comments
 (0)