Compare commits
2 Commits
4caaf74569
...
0ce3790675
| Author | SHA1 | Date | |
|---|---|---|---|
| 0ce3790675 | |||
| 5854889eb5 |
@@ -9,6 +9,7 @@
|
||||
"neat-years-unite",
|
||||
"soft-onions-appear",
|
||||
"strict-towns-grin",
|
||||
"tall-cooks-rule",
|
||||
"thirty-grapes-shine"
|
||||
]
|
||||
}
|
||||
|
||||
5
.changeset/tall-cooks-rule.md
Normal file
5
.changeset/tall-cooks-rule.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"lst_v3": patch
|
||||
---
|
||||
|
||||
more info in the change stuff
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
text = changelog_path.read_text(encoding="utf-8")
|
||||
|
||||
pattern = re.compile(
|
||||
rf"^##\s+\[?{re.escape(version)}\]?(?:\s*-.*)?\n(.*?)(?=^##\s|\Z)",
|
||||
rf"^##\s+\[?{re.escape(version)}\]?[^\n]*\n(.*?)(?=^##\s+\[?[0-9]|\Z)",
|
||||
re.MULTILINE | re.DOTALL,
|
||||
)
|
||||
|
||||
@@ -60,7 +60,7 @@ jobs:
|
||||
if match:
|
||||
body = match.group(1).strip()
|
||||
else:
|
||||
body = text.strip()
|
||||
body = f"Release {version}"
|
||||
|
||||
if not body:
|
||||
body = f"Release {version}"
|
||||
@@ -124,6 +124,19 @@ jobs:
|
||||
token = os.environ["RELEASE_TOKEN"]
|
||||
|
||||
with open("release_body.md", "r", encoding="utf-8") as f:
|
||||
|
||||
tag = os.environ["TAG"]
|
||||
|
||||
header = f"""## 🚀 How to run this release
|
||||
|
||||
```bash
|
||||
docker pull {image_name}:{tag}
|
||||
docker run -d -p 3000:3000 {image_name}:{tag}
|
||||
|
||||
```py
|
||||
if "-" not in tag:
|
||||
header += f"\n**Also available as:** `{image_name}:latest`\n\n"
|
||||
|
||||
body = f.read()
|
||||
|
||||
image_name = os.environ["IMAGE_NAME"]
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# lst_v3
|
||||
|
||||
## 0.1.0-alpha.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- more info in the change stuff
|
||||
|
||||
## 0.1.0-alpha.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "lst_v3",
|
||||
"version": "0.1.0-alpha.3",
|
||||
"version": "0.1.0-alpha.4",
|
||||
"description": "The tool that supports us in our everyday alplaprod",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user