Compare commits
3 Commits
fb2c5609aa
...
98e408cb85
| Author | SHA1 | Date | |
|---|---|---|---|
| 98e408cb85 | |||
| ed052dff3c | |||
| 8f59bba614 |
@@ -1,8 +0,0 @@
|
||||
# Changesets
|
||||
|
||||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
|
||||
with multi-package repos, or single-package repos to help you version and publish your code. You can
|
||||
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
|
||||
|
||||
We have a quick list of common questions to get you started engaging with this project in
|
||||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"lst_v3": patch
|
||||
---
|
||||
|
||||
sop stuff
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"lst_v3": patch
|
||||
---
|
||||
|
||||
i suck at this so much and half using ai and learning lmao
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"lst_v3": patch
|
||||
---
|
||||
|
||||
something strange in the bushes
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"$schema": "https://unpkg.com/@changesets/config/schema.json",
|
||||
"changelog": "@changesets/cli/changelog",
|
||||
"commit": false,
|
||||
"fixed": [],
|
||||
"linked": [],
|
||||
"access": "restricted",
|
||||
"baseBranch": "main",
|
||||
"updateInternalDependencies": "patch",
|
||||
"ignore": []
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"lst_v3": patch
|
||||
---
|
||||
|
||||
changed the password to token
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"lst_v3": patch
|
||||
---
|
||||
|
||||
build stuff
|
||||
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"mode": "pre",
|
||||
"tag": "alpha",
|
||||
"initialVersions": {
|
||||
"lst_v3": "0.0.1"
|
||||
},
|
||||
"changesets": [
|
||||
"bold-ties-remain",
|
||||
"chilly-teams-bow",
|
||||
"clean-kiwis-buy",
|
||||
"lucky-dingos-brake",
|
||||
"neat-years-unite",
|
||||
"soft-onions-appear",
|
||||
"strict-towns-grin",
|
||||
"tall-cooks-rule",
|
||||
"tasty-states-spend",
|
||||
"thirty-grapes-shine"
|
||||
]
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"lst_v3": patch
|
||||
---
|
||||
|
||||
external url added for docker
|
||||
@@ -1,7 +0,0 @@
|
||||
---
|
||||
"lst_v3": minor
|
||||
---
|
||||
|
||||
more build stuff
|
||||
### Build
|
||||
- changes to now auto release when we push new v*
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"lst_v3": patch
|
||||
---
|
||||
|
||||
more info in the change stuff
|
||||
@@ -1,5 +0,0 @@
|
||||
---
|
||||
"lst_v3": patch
|
||||
---
|
||||
|
||||
grr
|
||||
@@ -1,10 +0,0 @@
|
||||
---
|
||||
"lst_v3": patch
|
||||
---
|
||||
|
||||
Changes to the build process
|
||||
|
||||
# Build
|
||||
- Added release flow
|
||||
- when new release is in build the docker image
|
||||
- latest will still be built as well
|
||||
@@ -145,12 +145,33 @@ jobs:
|
||||
"---\n\n"
|
||||
)
|
||||
|
||||
body = (
|
||||
header
|
||||
+ changelog_body.rstrip()
|
||||
+ f"\n\n### Container Image\n\n- `{image_name}:{tag}`\n"
|
||||
import os
|
||||
import re
|
||||
from pathlib import Path
|
||||
|
||||
version = os.environ["VERSION"]
|
||||
changelog_path = Path("CHANGELOG.md")
|
||||
|
||||
if not changelog_path.exists():
|
||||
Path("release_body.md").write_text(f"Release {version}\n", encoding="utf-8")
|
||||
raise SystemExit(0)
|
||||
|
||||
text = changelog_path.read_text(encoding="utf-8")
|
||||
|
||||
pattern = re.compile(
|
||||
rf"^##\s+{re.escape(version)}(?:\s*\([^)]+\))?\n(.*?)(?=^##\s+[0-9]|\Z)",
|
||||
re.MULTILINE | re.DOTALL,
|
||||
)
|
||||
|
||||
match = pattern.search(text)
|
||||
|
||||
if match:
|
||||
body = match.group(1).strip()
|
||||
else:
|
||||
body = f"Release {version}"
|
||||
|
||||
Path("release_body.md").write_text(body + "\n", encoding="utf-8")
|
||||
|
||||
url = f"{server_url}/api/v1/repos/{repo}/releases"
|
||||
payload = {
|
||||
"tag_name": tag,
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
{ "type": "ci", "hidden": false, "section": "📈 Project changes" },
|
||||
{ "type": "build", "hidden": false, "section": "📈 Project Builds" }
|
||||
],
|
||||
"commitUrlFormat": "https://git.tuffraid.net/cowch/lst/commits/{{hash}}",
|
||||
"compareUrlFormat": "https://git.tuffraid.net/cowch/lst/compare/{{previousTag}}...{{currentTag}}",
|
||||
"commitUrlFormat": "https://git.tuffraid.net/cowch/lst_v3/commits/{{hash}}",
|
||||
"compareUrlFormat": "https://git.tuffraid.net/cowch/lst_v3/compare/{{previousTag}}...{{currentTag}}",
|
||||
"header": "# All Changes to LST can be found below.\n"
|
||||
}
|
||||
11
CHANGELOG.md
11
CHANGELOG.md
@@ -1,4 +1,13 @@
|
||||
# lst_v3
|
||||
# All Changes to LST can be found below.
|
||||
|
||||
## [0.1.0-alpha.10](https://git.tuffraid.net/cowch/lst_v3/compare/v0.1.0-alpha.9...v0.1.0-alpha.10) (2026-04-03)
|
||||
|
||||
|
||||
### 🛠️ Code Refactor
|
||||
|
||||
* **changelog:** reverted back to commit-chagnelog, like more than changeset for solo dev ([ed052df](https://git.tuffraid.net/cowch/lst_v3/commits/ed052dff3c81a7064660a7d25685e0505065252c))
|
||||
|
||||
## [0.1.0-alpha.9](https://git.tuffraid.net/cowch/lst_v3/compare/v0.0.1-alpha.8...v0.1.0-alpha.9) (2026-04-03)
|
||||
|
||||
## 0.1.0-alpha.8
|
||||
|
||||
|
||||
2885
package-lock.json
generated
2885
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "lst_v3",
|
||||
"version": "0.1.0-alpha.8",
|
||||
"version": "0.1.0-alpha.10",
|
||||
"description": "The tool that supports us in our everyday alplaprod",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
@@ -20,13 +20,9 @@
|
||||
"start:server": "dotenvx run -f .env -- node dist/server.js",
|
||||
"start:docker": "node dist/server.js",
|
||||
"version": "changeset version",
|
||||
"release": "dotenvx run -f .env -- npm run version && git push --follow-tags && node scripts/create-release.js",
|
||||
"specCheck": "node scripts/check-route-specs.mjs",
|
||||
"commit": "cz",
|
||||
"changeset": "changeset",
|
||||
"changeset:add": "changeset",
|
||||
"changeset:version": "changeset version",
|
||||
"changeset:status": "changeset status --verbose"
|
||||
"release": "commit-and-tag-version"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -38,7 +34,6 @@
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "2.4.8",
|
||||
"@changesets/cli": "^2.30.0",
|
||||
"@commitlint/cli": "^20.5.0",
|
||||
"@commitlint/config-conventional": "^20.5.0",
|
||||
"@types/cors": "^2.8.19",
|
||||
@@ -54,6 +49,7 @@
|
||||
"@types/supertest": "^7.2.0",
|
||||
"@types/swagger-jsdoc": "^6.0.4",
|
||||
"@types/swagger-ui-express": "^4.1.8",
|
||||
"commit-and-tag-version": "^12.7.1",
|
||||
"commitizen": "^4.3.1",
|
||||
"cpy-cli": "^7.0.0",
|
||||
"cz-conventional-changelog": "^3.3.0",
|
||||
|
||||
@@ -118,9 +118,12 @@ stage files
|
||||
npm run commit
|
||||
|
||||
# if releasing
|
||||
npm run changeset
|
||||
# edit the generated changeset md if needed
|
||||
npm run changeset:version
|
||||
npm run commit
|
||||
npm run release -- --prerelease alpha
|
||||
git push
|
||||
git push --tags
|
||||
|
||||
|
||||
git add .
|
||||
git commit -m "chore(release): version packages"
|
||||
git tag v0.0.1-alpha.0
|
||||
|
||||
Reference in New Issue
Block a user