File tree Expand file tree Collapse file tree 1 file changed +6
-43
lines changed Expand file tree Collapse file tree 1 file changed +6
-43
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ Step 4. Setting the version (increase the version automatically)
1515node ➜ /workspaces/my-SAP-exercises-with-VSCode (master)
1616$ npm version patch
1717v1.0.4
18+ $ npm version minor
19+ v1.1.0
20+ $ npm version major
21+ v2.0.0
1822
1923 Check the packages
2024 ===================
@@ -24,50 +28,9 @@ v1.0.4
2428 Check the tags
2529 ===================
2630 $ git tag
27- v1.0.0ä.c01
31+ v1.0.1
2832 v1.0.2
2933
30-
31-
3234Step 5. Push to master
3335=====================
34- git push --follow-tags
35-
36-
37-
38- Issue: npm ERR! Git working directory not clean.
39- ======
40- https://github.com/npm/npm/issues/6879
41- 1. Solution
42- ======
43- npm version --no-git-tag-version
44- npm version --force --no-git-tag-version
45- 2. Solution
46- ======
47- git add . && git commit
48-
49-
50- Issue: Beim manuellen Starten der Action stand wieder "refs/heads/master" als release
51- ======
52- Solution zum Entfernen:
53- ======
54- remote
55- $ git push origin :refs/tags/refs/heads/master
56- local
57- $ git tag -d refs/heads/master
58-
59- Issue:
60- ======
61- error: src refspec refs/heads/main matches more than one.
62- node ➜ /workspaces/vsc-sap-hana-mta-dev-env-node14x (main) $ git tag
63- refs/heads/main
64- v1.0.1
65-
66- Solution:
67- ======
68- delete the local tag
69- git tag -d refs/heads/main
70-
71- node ➜ /workspaces/vsc-sap-hana-mta-dev-env-node14x (main) $ git tag
72- v1.0.1
73-
36+ git push --follow-tags
You can’t perform that action at this time.
0 commit comments