Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b55de5b1d | ||
|
|
715ed23733 |
@@ -18,10 +18,28 @@ jobs:
|
|||||||
name: GoReleaser
|
name: GoReleaser
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
# Always clone default branch first. workflow_dispatch often races with
|
||||||
|
# release-please creating the tag; fetching refs/tags/X before it exists
|
||||||
|
# fails checkout. Retry fetch, then check out the tag.
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.event_name == 'workflow_dispatch' && format('refs/tags/{0}', inputs.tag) || github.ref }}
|
|
||||||
|
- name: Checkout release tag
|
||||||
|
env:
|
||||||
|
TAG: ${{ github.event_name == 'workflow_dispatch' && inputs.tag || github.ref_name }}
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
echo "Releasing tag: $TAG"
|
||||||
|
for i in 1 2 3 4 5 6; do
|
||||||
|
if git fetch --force origin "refs/tags/${TAG}:refs/tags/${TAG}"; then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
echo "tag $TAG not visible yet (attempt $i); sleeping…"
|
||||||
|
sleep 10
|
||||||
|
done
|
||||||
|
git rev-parse "refs/tags/${TAG}"
|
||||||
|
git checkout --force "refs/tags/${TAG}"
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
".": "0.8.1"
|
".": "0.8.2"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,13 @@ All notable changes to this project are documented here. The format is based on
|
|||||||
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
|
||||||
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [0.8.2](https://github.com/eSlider/go-onlyoffice/compare/v0.8.1...v0.8.2) (2026-07-23)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **ci:** retry tag fetch in Release workflow ([#11](https://github.com/eSlider/go-onlyoffice/issues/11)) ([31b4aa0](https://github.com/eSlider/go-onlyoffice/commit/31b4aa0d90393e6d93513284e453b7da7e92c62d))
|
||||||
|
|
||||||
## [0.8.1](https://github.com/eSlider/go-onlyoffice/compare/v0.8.0...v0.8.1) (2026-07-23)
|
## [0.8.1](https://github.com/eSlider/go-onlyoffice/compare/v0.8.0...v0.8.1) (2026-07-23)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user