-
Notifications
You must be signed in to change notification settings - Fork 747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Deploy with bicep" VS Code task default deployment name uses month twice #14763
Labels
Comments
Strandfelt
added a commit
to Strandfelt/bicep
that referenced
this issue
Aug 7, 2024
anthony-c-martin
pushed a commit
that referenced
this issue
Aug 7, 2024
Fixes #14763 ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/14764)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bicep version
v0.29.47
Describe the bug
The default deployment name for the
bicep.deploy
task uses month twice for the timestamp instead of minutes.The following screenshot is taken on 7 August 2024 at 10:11 UTC. The expected suggested name should be
main-240807-1011
, but the suggested name ismain-240807-1008
.To Reproduce
In Visual Studio Code, when having a bicep file open, press CTRL + SHIFT + P and select "Deploy bicep file...". Notice the default deployment name pre-filled in the text box that pops up.
Additional context
Code line: https://github.com/Azure/bicep/blob/624835146a8e48677ae1eafe06b20041ed785905/src/vscode-bicep/src/commands/deploy.ts#L111C34-L111C73
The issue in the code is this line:
which should be
The text was updated successfully, but these errors were encountered: