File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -721,6 +721,19 @@ jobs:
721721 echo "=== Updated entries ==="
722722 grep "${image_name}" prog/download_boot_image.rb || true
723723
724+ - name : Update config.rb
725+ run : |
726+ cd ubicloud
727+ version="${{ steps.collect.outputs.version }}"
728+
729+ # Update postgres_ubuntu_2204_version in config.rb
730+ sed -i -E "s|(override\s*:postgres_ubuntu_2204_version,\s*\")([^\"]+)(\")|\1${version}\3|" config.rb
731+ echo "Updated postgres_ubuntu_2204_version to ${version}"
732+
733+ # Show the change
734+ echo "=== Updated config.rb ==="
735+ grep "postgres_ubuntu_2204_version" config.rb
736+
724737 - name : Create migration file
725738 run : |
726739 cd ubicloud
@@ -859,6 +872,7 @@ jobs:
859872 --head "${branch_name}" \
860873 --title "Update postgres images to ${{ inputs.image_suffix }}" \
861874 --body "## Summary
875+ - Updates image version in \`config.rb\`
862876 - Updates boot image SHA256 hashes in \`prog/download_boot_image.rb\`
863877 - Adds migration to update AWS AMI IDs in \`pg_aws_ami\` table
864878
You can’t perform that action at this time.
0 commit comments