File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -206,17 +206,11 @@ module Stages =
206206 reg.Replace(
207207 line,
208208 fun m ->
209- let previousVersion = m.Groups.[ 1 ]. Value
210-
211- if previousVersion = newVersion then
212- failwith
213- " You need to update the version in the CHANGELOG.md before publishing a new version of the REPL"
214- else
215- m.Groups.[ 0 ]. Value
216- .Replace(
217- m.Groups.[ 1 ]. Value,
218- newVersion
219- )
209+ m.Groups.[ 0 ]. Value
210+ .Replace(
211+ m.Groups.[ 1 ]. Value,
212+ newVersion
213+ )
220214 )
221215 )
222216 |> Seq.toArray
@@ -313,7 +307,7 @@ pipeline "Release" {
313307 whenEnvVar " GITHUB_TOKEN"
314308 whenBranch " main"
315309
316- Stages.checkIfNewReleaseIsNeeded
310+ // Stages.checkIfNewReleaseIsNeeded
317311 Stages.clean
318312 Stages.donetRestore
319313 Stages.autoUpdateFableNpmPackages
@@ -329,8 +323,10 @@ pipeline "Release" {
329323 let changelogVersion = Changelog.getLastVersion ()
330324 let dateVersion = DateTime.Now.ToString( " yyyy-MM-dd_HH-mm-ss" )
331325
332- // The release version include the date, because the REPL
333- // is auto-released, when a new version of `fable-standalone` is released
326+ // The release version include the date, because we don't want to update
327+ // the REPL version each time a new fable-standalone version is released
328+ // This avoid doing dummy changelog entries, also for the user the
329+ // Fable version is available in the REPL website so it should be fine
334330 let releaseVersion =
335331 changelogVersion
336332 + " -"
You can’t perform that action at this time.
0 commit comments