mirror of
https://github.com/discourse/discourse.git
synced 2024-11-21 23:42:47 +08:00
DEV: Promote historic post_deploy migrations (#19492)
This commit promotes all post_deploy migrations which existed in Discourse v2.8.0 (timestamp <= 20220107014925). This commit includes a fix to the promote_migrations script to promote all migrations of the first version of the previous stable version. For example, if the current stable version is v2.8.13, the version used as a cutoff for promoting migrations is v2.8.0.
This commit is contained in:
parent
0ee050e208
commit
c358151a6c
|
@ -48,8 +48,7 @@ puts "Current stable version is #{current_stable_version}"
|
|||
|
||||
minor = current_stable_version[/^(v\d+\.\d+)\./, 1]
|
||||
|
||||
previous_stable_version =
|
||||
run "git describe --abbrev=0 --match 'v*' --exclude '#{minor}*' origin/stable"
|
||||
previous_stable_version = "#{minor}.0"
|
||||
puts "Previous stable version is #{previous_stable_version}"
|
||||
|
||||
stable_post_migrate_filenames =
|
||||
|
|
Loading…
Reference in New Issue
Block a user