2 Commits
Author SHA1 Message Date
semantic-release-bot 98aa1e9e1f chore: Release v1.0.1 [skip ci]
## [1.0.1](http://gitea:3000/StanPonomarev/twitter-patch/compare/v1.0.0...v1.0.1) (2026-08-21)

### 🐛 Bug Fixes

* update release strat ([818e291](http://gitea:3000/StanPonomarev/twitter-patch/commit/818e291ffdfa17eff5f57e9a47e3f73a00b7c050))
2026-08-21 15:07:48 +00:00
StanPonomarev 818e291ffd fix: update release strat
Release / Release (push) Successful in 2m18s
2026-08-21 17:05:37 +02:00
10 changed files with 15 additions and 129 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ module.exports.publish = async (pluginConfig, context) => {
body: nextRelease.notes,
draft: false,
name: nextRelease.name,
prerelease: Boolean(branch.prerelease),
prerelease: false,
tag_name: nextRelease.gitTag,
target_commitish: branch.name,
}),
-73
View File
@@ -1,73 +0,0 @@
name: Open a PR to main
on:
push:
branches:
- dev
workflow_dispatch:
permissions:
pull-requests: write
contents: read
jobs:
pull-request:
name: Open pull request
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Open pull request
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
GITEA_URL: ${{ gitea.server_url }}
GITEA_REPOSITORY: ${{ gitea.repository }}
SOURCE_BRANCH: ${{ gitea.ref_name }}
TARGET_BRANCH: main
shell: bash
run: |
set -euo pipefail
api_url="${GITEA_URL%/}/api/v1"
auth_header="Authorization: token ${GITEA_TOKEN}"
open_pulls="$(
curl --fail-with-body --silent --show-error \
--get \
--header "$auth_header" \
--data-urlencode "state=open" \
--data-urlencode "base_branch=${TARGET_BRANCH}" \
--data-urlencode "limit=50" \
"${api_url}/repos/${GITEA_REPOSITORY}/pulls"
)"
if jq -e --arg branch "$SOURCE_BRANCH" \
'any(.[]; .head.ref == $branch)' <<<"$open_pulls" >/dev/null; then
echo "Pull request already exists."
exit 0
fi
commits="$(git rev-list --count "origin/${TARGET_BRANCH}..HEAD")"
if [[ "$commits" -eq 0 ]]; then
echo "No commits between ${TARGET_BRANCH} and ${SOURCE_BRANCH}. Skipping pull request creation."
exit 0
fi
payload="$(
jq -n \
--arg base "$TARGET_BRANCH" \
--arg head "$SOURCE_BRANCH" \
--arg title 'chore: Merge branch `dev` to `main`' \
--arg body 'When dev (pre-release) is ready, merge this pull request to create a new stable release.' \
'{base: $base, head: $head, title: $title, body: $body}'
)"
curl --fail-with-body --silent --show-error \
--request POST \
--header "$auth_header" \
--header "Content-Type: application/json" \
--data "$payload" \
"${api_url}/repos/${GITEA_REPOSITORY}/pulls" >/dev/null
echo "Pull request created."
+1 -19
View File
@@ -1,11 +1,5 @@
{
"branches": [
"main",
{
"name": "dev",
"prerelease": true
}
],
"branches": ["main"],
"plugins": [
[
"@semantic-release/commit-analyzer",
@@ -61,18 +55,6 @@
],
"message": "chore: Release v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@cleyrop-org/semantic-release-backmerge",
{
"backmergeBranches": [
{
"from": "main",
"to": "dev"
}
],
"clearWorkspace": true
}
]
]
}
+6
View File
@@ -1,3 +1,9 @@
## [1.0.1](http://gitea:3000/StanPonomarev/twitter-patch/compare/v1.0.0...v1.0.1) (2026-08-21)
### 🐛 Bug Fixes
* update release strat ([818e291](http://gitea:3000/StanPonomarev/twitter-patch/commit/818e291ffdfa17eff5f57e9a47e3f73a00b7c050))
## 1.0.0 (2026-08-21)
### 🐛 Bug Fixes
+1 -1
View File
@@ -4,7 +4,7 @@ Patch bundle for X (Twitter), maintained by
[Stan Ponomarev](https://git.krtss.de/StanPonomarev).
<!-- PATCHES_START -->
> **[v1.0.0](http://gitea:3000/StanPonomarev/twitter-patch/releases/tag/v1.0.0)**&nbsp;&nbsp;•&nbsp;&nbsp;`main`&nbsp;&nbsp;•&nbsp;&nbsp;1 patches total
> **[v1.0.1](http://gitea:3000/StanPonomarev/twitter-patch/releases/tag/v1.0.1)**&nbsp;&nbsp;•&nbsp;&nbsp;`main`&nbsp;&nbsp;•&nbsp;&nbsp;1 patches total
<details open>
<summary>📦 X&nbsp;&nbsp;•&nbsp;&nbsp;1 patch</summary>
<br>
+1 -1
View File
@@ -1,4 +1,4 @@
org.gradle.parallel = true
org.gradle.caching = true
kotlin.code.style = official
version = 1.0.0
version = 1.0.1
-28
View File
@@ -5,7 +5,6 @@
"packages": {
"": {
"devDependencies": {
"@cleyrop-org/semantic-release-backmerge": "^6.2.0",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^11.0.1",
"conventional-changelog-conventionalcommits": "^9.3.1",
@@ -87,26 +86,6 @@
"node": ">=6.9.0"
}
},
"node_modules/@cleyrop-org/semantic-release-backmerge": {
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/@cleyrop-org/semantic-release-backmerge/-/semantic-release-backmerge-6.2.0.tgz",
"integrity": "sha512-d3dvZJgwBqsbhWKW1msIWlnkv3c1UoxUkFznrIYb0IewIiJLrfSv6ZWQvJVG67opAc3yTcqiovVL/J8G7/UnAA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@semantic-release/error": "^4.0.0",
"aggregate-error": "^5.0.0",
"debug": "^4.4.3",
"execa": "^9.6.1",
"lodash": "^4.18.1"
},
"engines": {
"node": "^22.14.0 || >=24.10.0"
},
"peerDependencies": {
"semantic-release": ">=24"
}
},
"node_modules/@colors/colors": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@colors/colors/-/colors-1.5.0.tgz",
@@ -2201,13 +2180,6 @@
"node": ">=4"
}
},
"node_modules/lodash": {
"version": "4.18.1",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz",
"integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==",
"dev": true,
"license": "MIT"
},
"node_modules/lodash-es": {
"version": "4.18.1",
"resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.18.1.tgz",
-1
View File
@@ -1,6 +1,5 @@
{
"devDependencies": {
"@cleyrop-org/semantic-release-backmerge": "^6.2.0",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^11.0.1",
"conventional-changelog-conventionalcommits": "^9.3.1",
+4 -4
View File
@@ -1,7 +1,7 @@
{
"created_at": "2026-08-21T14:54:51",
"description": "## 1.0.0 (2026-08-21)\n\n### 🐛 Bug Fixes\n\n* fix release ([9a26817](http://gitea:3000/StanPonomarev/twitter-patch/commit/9a26817b4133e2d0c3bde7ee86ef0f5eb4b72fd9))\n* readme template ([59b41b5](http://gitea:3000/StanPonomarev/twitter-patch/commit/59b41b55603351bffccc046d06147ffbe14b62e7))\n\n### ✨ New Features\n\n* disable outdated version screen ([c5d43f5](http://gitea:3000/StanPonomarev/twitter-patch/commit/c5d43f5b51126ca0008653aada6d5c67bd793bd7))",
"download_url": "http://gitea:3000/StanPonomarev/twitter-patch/releases/download/v1.0.0/patches-1.0.0.mpp",
"created_at": "2026-08-21T15:07:17",
"description": "## [1.0.1](http://gitea:3000/StanPonomarev/twitter-patch/compare/v1.0.0...v1.0.1) (2026-08-21)\n\n### 🐛 Bug Fixes\n\n* update release strat ([818e291](http://gitea:3000/StanPonomarev/twitter-patch/commit/818e291ffdfa17eff5f57e9a47e3f73a00b7c050))",
"download_url": "http://gitea:3000/StanPonomarev/twitter-patch/releases/download/v1.0.1/patches-1.0.1.mpp",
"signature_download_url": "",
"version": "1.0.0"
"version": "1.0.1"
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"NOTE": "Do NOT manually edit this file. This file is automatically updated when semantic release (release.yml) runs. Manually editing this file can break your releases and break third party tools that use this file.",
"version": "1.0.0",
"version": "1.0.1",
"patches": [
{
"name": "Disable outdated version screen",