You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# the previous - the greatest excluding the current
52
45
local prev="prev"
53
46
ver.parse "${prev}""v0.0"
54
47
@@ -65,25 +58,30 @@ main() {
65
58
yq --inplace --front-matter process ".to =\"${target_version}\"""${target_migration}/README.md"
66
59
yq --inplace --front-matter process ".from =\"${target_version}\"""${ROOT}/migration/main/README.md"
67
60
68
-
#Update header
61
+
#update header
69
62
sed -i "s/# Main upgrade and migration/# ${target_version} upgrade and migration/""${target_migration}/README.md"
70
-
#Update preamble
63
+
#update preamble
71
64
sed -i "/^<\!-- begin preamble --->$/,/^<\!--- end preamble --->$/c\\
72
65
> [\!important]\\
73
66
> This is the upgrade and migration process for Welkin Apps ${target_version}.\\
74
67
>\\
75
68
> Upgrade is supported from any patch version of the major or minor version stated in the \`from\` field above!""${target_migration}/README.md"
76
-
#Update changelog
69
+
#update changelog
77
70
sed -i "s#\.\./\.\./changelog#../../changelog/${target_version}.md#""${target_migration}/README.md"
78
-
#Update fetch
71
+
#update fetch
79
72
sed -i "s/Switch to the main branch and pull the latest changes/Fetch the latest changes and switch to the release tag/""${target_migration}/README.md"
80
73
sed -i "s/git switch main/git fetch/""${target_migration}/README.md"
81
74
sed -i "s/git pull/git switch -d ${target_version}.z/""${target_migration}/README.md"
0 commit comments