Skip to content

Commit 4ff1c29

Browse files
Merge pull request #59 from CrackingShells/dev
`semantic-release` configuration
2 parents aaf29ef + 79dbd91 commit 4ff1c29

File tree

10 files changed

+51
-329
lines changed

10 files changed

+51
-329
lines changed

.github/workflows/semantic-release.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: Semantic Release
2-
run-name: ${{ github.actor }} is automatically releasing
32

43
on:
54
push:
@@ -47,31 +46,15 @@ jobs:
4746
fetch-depth: 0
4847
token: ${{ steps.generate_token.outputs.token }}
4948

50-
- name: Debug token & actor
51-
env:
52-
APP_TOKEN: ${{ steps.generate_token.outputs.token }}
53-
run: |
54-
echo "--- git remote ---"
55-
git remote -v || true
56-
echo
57-
echo "--- git config user ---"
58-
git config user.name || true
59-
git config user.email || true
60-
echo
61-
echo "--- GraphQL viewer (login / type) ---"
62-
curl -s -H "Authorization: Bearer $APP_TOKEN" -H "Accept: application/vnd.github+json" \
63-
-d '{"query":"{ viewer { login __typename } }"}' https://api.github.com/graphql || true
64-
echo
65-
echo "--- REST /repos response (first 200 lines) ---"
66-
curl -s -H "Authorization: Bearer $APP_TOKEN" -H "Accept: application/vnd.github+json" https://api.github.com/repos/${{ github.repository }} | sed -n '1,200p' || true
67-
6849
- name: Setup Node.js
6950
uses: actions/setup-node@v4
7051
with:
7152
node-version: "lts/*"
7253

7354
- name: Install Node dependencies
74-
run: npm ci
55+
run: |
56+
npm ci
57+
npm install --save-dev @covage/semantic-release-poetry-plugin@^0.2.0-development
7558
7659
- name: Verify npm audit
7760
run: npm audit signatures

.releaserc.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
[
4141
"@semantic-release/changelog",
4242
{
43-
"changelogFile": "CHANGELOG.md"
43+
"changelogFile": "docs/CHANGELOG.md"
4444
}
4545
],
4646
[
4747
"@semantic-release/git",
4848
{
49-
"assets": ["CHANGELOG.md", "pyproject.toml"],
49+
"assets": ["docs/CHANGELOG.md", "pyproject.toml"],
5050
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
5151
}
5252
],
@@ -57,6 +57,7 @@
5757
"failComment": false,
5858
"releasedLabels": false
5959
}
60-
]
60+
],
61+
"@covage/semantic-release-poetry-plugin"
6162
]
6263
}

CHANGELOG.md

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ These repositories work together to provide a comprehensive framework for creati
135135

136136
## Contributing
137137

138-
We welcome contributions! Please see our [Contributing Guide](./CONTRIBUTING.md) for details.
138+
We welcome contributions! Please see our [Contributing Guide](./docs/CONTRIBUTING.md) for details.
139139

140140
### Quick Start
141141

@@ -161,4 +161,4 @@ chore: maintenance tasks
161161

162162
Use `npm run commit` for guided commit messages.
163163

164-
For detailed guidelines, see [CONTRIBUTING.md](./CONTRIBUTING.md) and [versioning docs](./docs/articles/devs/versioning.md).
164+
For detailed guidelines, see [CONTRIBUTING.md](./docs/CONTRIBUTING.md) and [versioning docs](./docs/articles/devs/versioning.md).
File renamed without changes.

docs/articles/devs/contribution_guides/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
- **[Contributing Languages](./contributing_languages.md)** - Add new language translations to the internationalization system
66
- **[Implementing LLM Providers](./implementing_llm_providers.md)** - Complete guide for adding new Large Language Model providers
77

8-
For general contribution guidelines, see [General Contribution Guidelines](../how_to_contribute.md).
8+
For general contribution guidelines, see [General Contribution Guidelines](../CONTRIBUTING.md).

docs/articles/devs/how_to_contribute.md

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

docs/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Documentation for maintainers and contributors working on Hatchling's codebase.
3232

3333
### Contributing
3434

35-
- [**General Contribution Guidelines**](./articles/devs/how_to_contribute.md) - Standards for branches, versioning, and automation
35+
- [**General Contribution Guidelines**](./articles/devs/CONTRIBUTING.md) - Standards for branches, versioning, and automation
3636
- [Contributing Languages](./articles/devs/contribution_guides/contributing_languages.md) - How to add new language translations
3737
- [Implementing LLM Providers](./articles/devs/contribution_guides/implementing_llm_providers.md) - Complete guide for adding new LLM providers
3838

@@ -56,3 +56,7 @@ Documentation for maintainers and contributors working on Hatchling's codebase.
5656
### Diagram Sources
5757

5858
- [PlantUML Sources](./resources/diagrams/puml/) - Editable source files for architecture and workflow diagrams
59+
60+
## Change Log
61+
62+
For recent changes and updates, see the [CHANGELOG](./CHANGELOG.md).

0 commit comments

Comments
 (0)