Skip to content

Commit de675cb

Browse files
authored
Update dev version (#64)
*Issue #, if available:* *Description of changes:* * Update the dev version to conform with the semantic versioning for npm: https://semver.org/ * We need to use "-" instead of "." to separate the \<version core\> with \<pre-release\> identifier. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent ab251b5 commit de675cb

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/post-release-version-bump.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101

102102
- name: Update version to next development version in main
103103
run: |
104-
DEV_VERSION="${{ github.event.inputs.version }}.dev0"
104+
DEV_VERSION="${{ github.event.inputs.version }}-dev0"
105105
sed -i'' -e "s/\"version\": \".*\"/\"version\": \"${DEV_VERSION}\"/" aws-distro-opentelemetry-node-autoinstrumentation/package.json
106106
sed -i'' -e "s/\"version\": \".*\"/\"version\": \"${DEV_VERSION}\"/" docker-utils/package.json
107107
sed -i'' -e "s/\"version\": \".*\"/\"version\": \"${DEV_VERSION}\"/" package.json
@@ -117,7 +117,7 @@ jobs:
117117
env:
118118
GITHUB_TOKEN: ${{ env.BOT_TOKEN_GITHUB_RW_PATOKEN }}
119119
run: |
120-
DEV_VERSION="${{ github.event.inputs.version }}.dev0"
120+
DEV_VERSION="${{ github.event.inputs.version }}-dev0"
121121
gh pr create --title "Post release $VERSION: Update version to $DEV_VERSION" \
122122
--body "This PR prepares the main branch for the next development cycle by updating the version to $DEV_VERSION and updating the image version to be scanned to the latest released.
123123

aws-distro-opentelemetry-node-autoinstrumentation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws/aws-distro-opentelemetry-node-autoinstrumentation",
3-
"version": "0.1.0.dev0",
3+
"version": "0.1.0-dev0",
44
"description": "This package provides Amazon Web Services distribution of the OpenTelemetry Node Instrumentation, which allows for auto-instrumentation of NodeJS applications.",
55
"author": {
66
"name": "Amazon Web Services",

docker-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws/aws-distro-opentelemetry-node-autoinstrumentation",
3-
"version": "0.1.0.dev0",
3+
"version": "0.1.0-dev0",
44
"private": true,
55
"scripts": {
66
"clean": "rimraf build/*",

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aws-otel-js-instrumentation",
3-
"version": "0.1.0.dev0",
3+
"version": "0.1.0-dev0",
44
"description": "This is a repository for AWS Distro of OpenTelemetry JavaScript SDK.",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)