Skip to content

Commit 60c377b

Browse files
authored
chore: fix release script (#177)
1 parent 9f6b90f commit 60c377b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.releaserc

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
}],
5858
["@semantic-release/git", {
5959
"assets": ["./CHANGELOG.md", "./pom.xml", "./README.md"],
60-
"message": "Amazon S3 Encryption Client ${nextRelease.version} Release -- $(date +%Y-%m-%d) \n\n${nextRelease.notes}"
60+
"message": "Amazon S3 Encryption Client ${nextRelease.version} Release -- ${new Date().toISOString().slice(0, 10)} \n\n${nextRelease.notes}"
6161
}],
6262
],
6363
"repositoryUrl": "https://github.com/aws/aws-s3-encryption-client-java",

codebuild/release/upload_artifacts.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ phases:
4444
mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.2:get \
4545
-DrepoUrl=https://aws.oss.sonatype.org \
4646
-Dartifact=software.amazon.encryption.s3:amazon-s3-encryption-client-java:${VERSION}:jar:javadoc
47-
- gh release create v${VERSION} ~/.m2/repository/software/amazon/encryption/s3/amazon-s3-encryption-client-java/${VERSION}/*.jar -d -F CHANGELOG.md -t "Amazon S3 Encryption Client ${VERSION} Release -- $(date +%Y-%m-%d)"
47+
- gh release create v${VERSION} ~/.m2/repository/software/amazon/encryption/s3/amazon-s3-encryption-client-java/${VERSION}/*.jar -d -F CHANGELOG.md -t "Amazon S3 Encryption Client ${VERSION} Release -- $(date +'%Y-%m-%d')"

0 commit comments

Comments
 (0)