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
{{ message }}
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
When using sam publish command to publish a new version of a SAR app, if I forget to update the semantic version in the template metadata, it succeeds leading the user to think they published a new version.
It has the exact commands that get run. The steps to reproduce are:
use the script to publish an initial semantic version to SAR
deploy an instance of that app
make a code change to the app but forget to change the semantic version
publish the code change using the script
attempt to deply an update to the previous app instance.
You'll find that step #4 doesn't throw and error but that after step 5 which also won't error, the deployed app will still be running the code from step 1.
Expected result
Step #4 should somehow throw an error or helpful information to indicate a new version is not published so that we can stop before running step 5.
The text was updated successfully, but these errors were encountered:
Description
When using sam publish command to publish a new version of a SAR app, if I forget to update the semantic version in the template metadata, it succeeds leading the user to think they published a new version.
Steps to reproduce
We use this script when publishing to SAR:
https://github.com/awslabs/aws-athena-query-federation/blob/master/tools/publish.sh
It has the exact commands that get run. The steps to reproduce are:
You'll find that step #4 doesn't throw and error but that after step 5 which also won't error, the deployed app will still be running the code from step 1.
Expected result
Step #4 should somehow throw an error or helpful information to indicate a new version is not published so that we can stop before running step 5.
The text was updated successfully, but these errors were encountered: