maurao-method 0.1.2 → 0.1.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.
|
@@ -83,5 +83,18 @@ jobs:
|
|
|
83
83
|
- name: Create GitHub Release
|
|
84
84
|
env:
|
|
85
85
|
GH_TOKEN: ${{ github.token }}
|
|
86
|
+
GH_REPOSITORY: ${{ github.repository }}
|
|
86
87
|
VERSION: ${{ steps.version.outputs.version }}
|
|
87
|
-
run:
|
|
88
|
+
run: |
|
|
89
|
+
TAG="v${VERSION}"
|
|
90
|
+
for attempt in 1 2 3 4 5 6; do
|
|
91
|
+
if gh api "repos/${GH_REPOSITORY}/git/ref/tags/${TAG}" > /dev/null 2>&1; then
|
|
92
|
+
break
|
|
93
|
+
fi
|
|
94
|
+
if [ "$attempt" -eq 6 ]; then
|
|
95
|
+
echo "Tag ${TAG} was not visible through the GitHub API after pushing it."
|
|
96
|
+
exit 1
|
|
97
|
+
fi
|
|
98
|
+
sleep 2
|
|
99
|
+
done
|
|
100
|
+
gh release create "${TAG}" --verify-tag "${TAG}" --title "${TAG}" --generate-notes
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Maurao Method
|
|
2
2
|
|
|
3
3
|
[](https://github.com/luismpenholato/maurao-method/actions/workflows/ci.yml)
|
|
4
|
-
[](https://github.com/luismpenholato/maurao-method/actions/workflows/release.yml)
|
|
5
5
|
[](https://www.npmjs.com/package/maurao-method)
|
|
6
6
|
[](https://www.npmjs.com/package/maurao-method)
|
|
7
7
|
[](https://opensource.org/license/mit/)
|
package/docs/npm-release.md
CHANGED
|
@@ -4,7 +4,7 @@ The repository has three GitHub Actions workflows:
|
|
|
4
4
|
|
|
5
5
|
- `ci.yml`: validates pushes and pull requests.
|
|
6
6
|
- `publish.yml`: provides an optional manual OIDC publish path.
|
|
7
|
-
- `release
|
|
7
|
+
- `release.yml`: increments the patch version, publishes, tags, and creates a GitHub Release after package changes reach `main`.
|
|
8
8
|
|
|
9
9
|
## One-time setup
|
|
10
10
|
|