Compare commits
4
Commits
a845157c67
..
v1.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
603e1e344b | ||
|
|
96e47ab87a | ||
|
|
c3418b3c3b | ||
|
|
5048968cdf |
@@ -109,17 +109,12 @@ jobs:
|
|||||||
- name: Create release
|
- name: Create release
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
GITEA_SERVER_URL: ${{ gitea.server_url }}
|
||||||
|
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||||
|
GITEA_REF_NAME: ${{ gitea.ref_name }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
# JSON-escape the release body with sed: backslashes first, then
|
BODY=$(sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' -e 's/\t/\\t/g' -e 's/\r//g' release-body.md | sed ':a;N;$!ba;s/\n/\\n/g')
|
||||||
# quotes, tabs, and carriage returns, and finally fold newlines into
|
|
||||||
# \n. Wrap the result in quotes to form a JSON string.
|
|
||||||
BODY=$(sed -e 's/\\/\\\\/g' \
|
|
||||||
-e 's/"/\\"/g' \
|
|
||||||
-e 's/\t/\\t/g' \
|
|
||||||
-e 's/\r//g' \
|
|
||||||
release-body.md \
|
|
||||||
| sed ':a;N;$!ba;s/\n/\\n/g')
|
|
||||||
BODY="\"${BODY}\""
|
BODY="\"${BODY}\""
|
||||||
|
|
||||||
response=$(curl -sS -w '\n%{http_code}' \
|
response=$(curl -sS -w '\n%{http_code}' \
|
||||||
@@ -127,13 +122,7 @@ jobs:
|
|||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-X POST \
|
-X POST \
|
||||||
"${GITEA_SERVER_URL}/api/v1/repos/${GITEA_REPOSITORY}/releases" \
|
"${GITEA_SERVER_URL}/api/v1/repos/${GITEA_REPOSITORY}/releases" \
|
||||||
-d "{
|
-d "{\"tag_name\":\"${GITEA_REF_NAME}\",\"name\":\"${GITEA_REF_NAME}\",\"body\":${BODY},\"draft\":false,\"prerelease\":false}")
|
||||||
\"tag_name\": \"${GITEA_REF_NAME}\",
|
|
||||||
\"name\": \"${GITEA_REF_NAME}\",
|
|
||||||
\"body\": ${BODY},
|
|
||||||
\"draft\": false,
|
|
||||||
\"prerelease\": false
|
|
||||||
}")
|
|
||||||
|
|
||||||
http_code=$(echo "$response" | tail -1)
|
http_code=$(echo "$response" | tail -1)
|
||||||
body=$(echo "$response" | sed '$d')
|
body=$(echo "$response" | sed '$d')
|
||||||
@@ -152,6 +141,9 @@ jobs:
|
|||||||
- name: Upload assets
|
- name: Upload assets
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
GITEA_SERVER_URL: ${{ gitea.server_url }}
|
||||||
|
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||||
|
GITEA_REF_NAME: ${{ gitea.ref_name }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
RELEASE_ID=$(cat release-id.txt)
|
RELEASE_ID=$(cat release-id.txt)
|
||||||
|
|||||||
+4
-10
@@ -7,14 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [development]
|
## [development]
|
||||||
|
|
||||||
## [1.1.1] — 2026-07-26
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
|
|
||||||
- **Smoke test restricted to native builds** — cross-compiled binaries
|
|
||||||
(FreeBSD, ARM64, RISC-V, LoongArch) now skip the smoke test step since
|
|
||||||
they cannot execute on the Linux amd64 CI runner.
|
|
||||||
|
|
||||||
## [1.1.0] — 2026-07-26
|
## [1.1.0] — 2026-07-26
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
@@ -53,9 +45,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
when it finds unformatted files.
|
when it finds unformatted files.
|
||||||
- **Missing `just fmt` recipe** — added `gofmt -w` target.
|
- **Missing `just fmt` recipe** — added `gofmt -w` target.
|
||||||
- **Copyright headers** — added to all Go and Python source files.
|
- **Copyright headers** — added to all Go and Python source files.
|
||||||
|
- **Smoke test restricted to native builds** — cross-compiled binaries now
|
||||||
|
skip the smoke test step since they cannot execute on the Linux amd64 CI
|
||||||
|
runner.
|
||||||
|
|
||||||
[development]: https://sourcedock.dev/petrbalvin/nuntius/compare/v1.1.1...development
|
[development]: https://sourcedock.dev/petrbalvin/nuntius/compare/v1.1.0...development
|
||||||
[1.1.1]: https://sourcedock.dev/petrbalvin/nuntius/releases/tag/v1.1.1
|
|
||||||
[1.1.0]: https://sourcedock.dev/petrbalvin/nuntius/releases/tag/v1.1.0
|
[1.1.0]: https://sourcedock.dev/petrbalvin/nuntius/releases/tag/v1.1.0
|
||||||
|
|
||||||
## [1.0.0] — 2026-06-20
|
## [1.0.0] — 2026-06-20
|
||||||
|
|||||||
@@ -10,4 +10,4 @@ package version
|
|||||||
const Name = "nuntius"
|
const Name = "nuntius"
|
||||||
|
|
||||||
// Version is the nuntius release version. Follows SemVer.
|
// Version is the nuntius release version. Follows SemVer.
|
||||||
var Version = "1.1.1"
|
var Version = "1.1.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user