@innovaccer/rich-text-editor 2.0.1 → 2.0.3
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.
- package/.github/workflows/main.yml +14 -10
- package/CHANGELOG.md +1 -1
- package/dist/rich-text-editor.js +7 -7
- package/package.json +3 -3
|
@@ -34,7 +34,7 @@ jobs:
|
|
|
34
34
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
35
35
|
AWS_REGION: ${{ secrets.AWS_REGION }}
|
|
36
36
|
CDN_BUCKET: ${{ secrets.CDN_BUCKET }}
|
|
37
|
-
run: RELEASE_COMMIT=true npm version --no-commit-hooks $(git log -1 --pretty=format:%s) -m "Released %s"
|
|
37
|
+
run: RELEASE_COMMIT=true npm version --allow-same-version --no-commit-hooks $(git log -1 --pretty=format:%s) -m "Released %s"
|
|
38
38
|
|
|
39
39
|
- name: gnerate .npmrc
|
|
40
40
|
if: steps.is_release_commit.outputs.result == 1
|
|
@@ -54,16 +54,20 @@ jobs:
|
|
|
54
54
|
if: steps.is_release_commit.outputs.result == 1
|
|
55
55
|
run: git push https://${{ secrets.GH_TOKEN }}@github.com/$GITHUB_REPOSITORY.git $(git log -2 --pretty=format:%B | tail -n1)
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
57
|
+
# Note : not working due to limitation of github actions to push to protected branches.
|
|
58
|
+
# Error example : remote: error: GH006: Protected branch update failed for refs/heads/docs.
|
|
59
|
+
# Please add updated version in package.json while adding the release commit itself.
|
|
60
|
+
|
|
61
|
+
# - name: remove dist from commit
|
|
62
|
+
# if: steps.is_release_commit.outputs.result == 1
|
|
63
|
+
# run: |
|
|
64
|
+
# git reset HEAD~1
|
|
65
|
+
# git add package.json
|
|
66
|
+
# git commit -m "Released $(git log -1 --pretty=format:%s)"
|
|
63
67
|
|
|
64
|
-
- name: push version to github
|
|
65
|
-
|
|
66
|
-
|
|
68
|
+
# - name: push version to github
|
|
69
|
+
# if: steps.is_release_commit.outputs.result == 1
|
|
70
|
+
# run: git push https://${{ secrets.GH_TOKEN }}@github.com/$GITHUB_REPOSITORY.git HEAD:master
|
|
67
71
|
|
|
68
72
|
- name: deploy storybook
|
|
69
73
|
env:
|
package/CHANGELOG.md
CHANGED