diff --git a/.github/workflows/sync-translated-documents.yml b/.github/workflows/sync-translated-documents.yml index 2a014fd24..770b76124 100644 --- a/.github/workflows/sync-translated-documents.yml +++ b/.github/workflows/sync-translated-documents.yml @@ -2,6 +2,8 @@ name: Sync Translations on: workflow_dispatch: + schedule: + - cron: "0 0 * * *" jobs: sync-translated-documents: diff --git a/v2/tools/release/release.go b/v2/tools/release/release.go index a09fa7a3b..dc6299ed7 100644 --- a/v2/tools/release/release.go +++ b/v2/tools/release/release.go @@ -2,13 +2,14 @@ package main import ( "encoding/json" - "github.com/samber/lo" "os" "os/exec" "strconv" "strings" "time" + "github.com/samber/lo" + "github.com/wailsapp/wails/v2/internal/s" ) @@ -86,7 +87,7 @@ func main() { // Get today's date in YYYY-MM-DD format today := time.Now().Format("2006-01-02") // Add the new version to the top of the changelog - newChangelog := changelogSplit[0] + "## [Unreleased]\n\n## [" + newVersion + "] - " + today + changelogSplit[1] + newChangelog := changelogSplit[0] + "## [Unreleased]\n\n## " + newVersion + " - " + today + changelogSplit[1] // Write the changelog back err = os.WriteFile("src/pages/changelog.mdx", []byte(newChangelog), 0755) checkError(err) diff --git a/website/src/pages/changelog.mdx b/website/src/pages/changelog.mdx index 2d3b441e7..c21220a6b 100644 --- a/website/src/pages/changelog.mdx +++ b/website/src/pages/changelog.mdx @@ -18,7 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Avoid app crashing when the Linux GTK key is empty by @aminya in [PR](https://github.com/wailsapp/wails/pull/2672) -## [v2.5.1] - 2023-05-16 +## v2.5.1 - 2023-05-16 ### Breaking Changes