Releases: 63Klabs/atlantis-cfn-configuration-repo-for-serverless-deployments
v0.0.14
v0.0.13
v0.0.12
v0.0.11
v0.0.10
v0.0.9
v0.0.8
v0.0.7
Mostly stable. Still in Beta.
I'm going to go into a little more detail than usual.
- update.py (v0.1.5/2025-06-10): Fixed issue where the downloaded release zip file does not contain the
vin front of the version number even if the release tag in GitHub has thev. This irregularity lies in GitHub and is a weird quirk that according to my conversation with GitHub Copilot is "undocumented but reproducible." This is even experienced when downloading a zip directly from the release page. The link will point to<url>/v0.0.6.zip, but the downloaded file will be<repo-name>-0.0.6.zipwith files extracted to<repo-name>-0.0.6.zip. - For the fix, GitHub Copilot recommended that instead of constructing the path beforehand, look inside the zip file and see what the actual path is. This should hopefully fix any future issue.
Below is GitHub Copilot's explanation. (Note: it says "This is a GitHub quirk for repositories with a dash (-) in the tag name" but there isn't a dash in the tag name, so there is still some inconsistencies as to why this happens.) However, I provide this information because:
- GitHub Copilot admitted I was right :)
- "This is not documented by GitHub, but is reproducible and widely observed." (so there could still be other quirks that need to be accounted for in the future)
From GitHub Copilot
Thank you for the detailed info and the direct observation.
You are correct: the downloaded file is named
atlantis-cfn-configuration-repo-for-serverless-deployments-0.0.6.zip
even though the tag is v0.0.6.
Why does this happen?
This is a GitHub quirk for repositories with a dash (-) in the tag name.
GitHub strips the leading v from the zip file and folder name if the tag is in the format vX.Y.Z.
- The actual tag in the repo is still
v0.0.6. - The zip file and extracted folder are named as if the tag is
0.0.6.
This is not documented by GitHub, but is reproducible and widely observed.
What does this mean for your code?
Your code currently does:
zipped_dir = f"{repo}-{tag}/"If tag is v0.0.6, but the extracted folder is atlantis-cfn-configuration-repo-for-serverless-deployments-0.0.6/, your code will not find the right directory.
Summary
- GitHub sometimes strips the leading
vfrom zip/folder names for tags likev0.0.6. - Adjust your code to check for both possibilities.
v0.0.6
v0.0.5
Mostly stable. Still in Beta.
- Fixed issue where update.py was not pulling the latest changes from the organization's SAM config repository.
- Fixed issue where CodeCommit and Repository tags are being erroneously added to the tag prompts for the user even though they are automatically managed.