Closed github-actions[bot] closed 4 months ago
ran shell command "releasepost --dry-run=\"$DRY_RUN\" --config releasepost.yaml --clean"
ran shell command "RELEASEPOST_CONFIG=\"releasepost.yaml\"\n\nGITHUB_OWNER=\"rancher\"\nGITHUB_REPOSITORY=\"fleet\"\n## The following two variables are a trick to avoid the go template interpolation\n## done by Updatecli\nO=\"{\"\"{\"\nC=\"}\"\"}\"\n\nsanitizeVersion () {\n local version=$1\n version=${version##\"]\"}\n version=${version##\"[\"}\n version=${version##\" \\\"\"}\n version=${version%\\\"*}\n\n echo \"$version\"\n}\n\necho \"Ensure $RELEASEPOST_CONFIG is up to date for version:\"\necho \"changelogs:\" > $RELEASEPOST_CONFIG\n\nwhile IFS= read -r line\ndo\n version=$(sanitizeVersion \"$line\")\n if [ -n \"$version\" ]; then\n {\n echo \" - kind: github\"\n echo \" dir: versioned_docs/version-$version/changelogs\"\n echo \" formats:\"\n echo \" - extension: markdown\"\n echo \" frontmatters: |\"\n echo \" ---\"\n echo \" title: \\\"$O .Changelog.Name $C\\\"\"\n echo \" date: \\\"$O .Changelog.PublishedAt $C\\\"\"\n echo \" ---\"\n echo \" indexfilename: index\"\n echo \" indexfrontmatters: |\"\n echo \" ---\"\n echo \" title: \\\"$version Changelogs\\\"\"\n echo \" ---\"\n echo \" indexfiletemplate: |\"\n echo \" $O .FrontMatters $C\"\n echo \" $O range \\$pos, \\$release := .Changelogs $C\"\n echo \" * [$O \\$release.Name$C](changelogs/$O \\$release.Tag $C.md) $O if (eq \\$pos 0) $C(latest)$O end$C\"\n echo \" $O end $C\"\n echo \" spec:\"\n echo \" owner: $GITHUB_OWNER\"\n echo \" repository: $GITHUB_REPOSITORY\"\n echo \" versionfilter:\"\n echo \" kind: semver\"\n echo \" pattern: \\\"~$version\\\"\"\n echo \"\"\n } >> $RELEASEPOST_CONFIG\n echo \" * $version\"\n\n fi\ndone < versions.json\n"
Created automatically by Updatecli
Most of Updatecli configuration is done via its manifest(s).
Feel free to report any issues at github.com/updatecli/updatecli. If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!
docs: synchronize Fleet release note
doc: synchronize Fleet release note
ran shell command "releasepost --dry-run=\"$DRY_RUN\" --config releasepost.yaml --clean"
docs: update releasepost configuration file releasepost.yaml
ran shell command "RELEASEPOST_CONFIG=\"releasepost.yaml\"\n\nGITHUB_OWNER=\"rancher\"\nGITHUB_REPOSITORY=\"fleet\"\n## The following two variables are a trick to avoid the go template interpolation\n## done by Updatecli\nO=\"{\"\"{\"\nC=\"}\"\"}\"\n\nsanitizeVersion () {\n local version=$1\n version=${version##\"]\"}\n version=${version##\"[\"}\n version=${version##\" \\\"\"}\n version=${version%\\\"*}\n\n echo \"$version\"\n}\n\necho \"Ensure $RELEASEPOST_CONFIG is up to date for version:\"\necho \"changelogs:\" > $RELEASEPOST_CONFIG\n\nwhile IFS= read -r line\ndo\n version=$(sanitizeVersion \"$line\")\n if [ -n \"$version\" ]; then\n {\n echo \" - kind: github\"\n echo \" dir: versioned_docs/version-$version/changelogs\"\n echo \" formats:\"\n echo \" - extension: markdown\"\n echo \" frontmatters: |\"\n echo \" ---\"\n echo \" title: \\\"$O .Changelog.Name $C\\\"\"\n echo \" date: \\\"$O .Changelog.PublishedAt $C\\\"\"\n echo \" ---\"\n echo \" indexfilename: index\"\n echo \" indexfrontmatters: |\"\n echo \" ---\"\n echo \" title: \\\"$version Changelogs\\\"\"\n echo \" ---\"\n echo \" indexfiletemplate: |\"\n echo \" $O .FrontMatters $C\"\n echo \" $O range \\$pos, \\$release := .Changelogs $C\"\n echo \" * [$O \\$release.Name$C](changelogs/$O \\$release.Tag $C.md) $O if (eq \\$pos 0) $C(latest)$O end$C\"\n echo \" $O end $C\"\n echo \" spec:\"\n echo \" owner: $GITHUB_OWNER\"\n echo \" repository: $GITHUB_REPOSITORY\"\n echo \" versionfilter:\"\n echo \" kind: semver\"\n echo \" pattern: \\\"~$version\\\"\"\n echo \"\"\n } >> $RELEASEPOST_CONFIG\n echo \" * $version\"\n\n fi\ndone < versions.json\n"
Created automatically by Updatecli
Options:
Most of Updatecli configuration is done via its manifest(s).
Feel free to report any issues at github.com/updatecli/updatecli.
If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!