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: gh release create "v${VERSION}" --verify-tag "v${VERSION}" --title "v${VERSION}" --generate-notes
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
  [![CI](https://github.com/luismpenholato/maurao-method/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/luismpenholato/maurao-method/actions/workflows/ci.yml)
4
- [![Release](https://github.com/luismpenholato/maurao-method/actions/workflows/release-on-main.yml/badge.svg?branch=main)](https://github.com/luismpenholato/maurao-method/actions/workflows/release-on-main.yml)
4
+ [![Release](https://github.com/luismpenholato/maurao-method/actions/workflows/release.yml/badge.svg?branch=main)](https://github.com/luismpenholato/maurao-method/actions/workflows/release.yml)
5
5
  [![npm version](https://img.shields.io/npm/v/maurao-method.svg)](https://www.npmjs.com/package/maurao-method)
6
6
  [![npm downloads](https://img.shields.io/npm/dm/maurao-method.svg)](https://www.npmjs.com/package/maurao-method)
7
7
  [![License](https://img.shields.io/npm/l/maurao-method.svg)](https://opensource.org/license/mit/)
@@ -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-on-main.yml`: increments the patch version, publishes, tags, and creates a GitHub Release after package changes reach `main`.
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maurao-method",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Portable specification-driven engineering method and skills for AI coding agents",
5
5
  "repository": {
6
6
  "type": "git",