Skip to content

Commit 89307e1

Browse files
authored
chore: don't bump version for merge to main (#404)
* chore: don't bump version for merge to main * fix deps of commons
1 parent 62e155f commit 89307e1

File tree

7 files changed

+57
-34
lines changed

7 files changed

+57
-34
lines changed

.github/workflows/on-merge-to-main.yml

-15
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,6 @@ jobs:
3232
run: npm run lerna-lint
3333
- name: Run tests
3434
run: npm run lerna-test
35-
- name: "Version and publish"
36-
env:
37-
GH_TOKEN: ${{ secrets.GH_PUBLISH_TOKEN }}
38-
run: |
39-
git config --global user.name 'github-actions[bot]'
40-
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
41-
git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/$GITHUB_REPOSITORY
42-
43-
# For merge to main we
44-
## don't create github release,
45-
## don't update changelog (--no-changelog)
46-
## bump version as a pre-release (--conventional-prerelease)
47-
## add a custom preid (--preid dev): 0.2.0-dev.1 -> 0.2.0-dev.2
48-
npx lerna version --conventional-commits --conventional-prerelease --preid dev --force-publish=* --yes --no-changelog
49-
git push --delete origin $(git describe --abbrev=0)
5035
- name: update release draft
5136
uses: release-drafter/[email protected]
5237
env:

packages/logger/npm-shrinkwrap.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/logger/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"url": "https://github.com/awslabs/aws-lambda-powertools-typescript/issues"
6464
},
6565
"dependencies": {
66-
"@aws-lambda-powertools/commons": "^0.2.0-dev.2",
66+
"@aws-lambda-powertools/commons": "0.2.0-beta.19",
6767
"@middy/core": "^2.5.3",
6868
"@types/aws-lambda": "^8.10.72",
6969
"lodash": "^4.17.21",

packages/metrics/package-lock.json

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/metrics/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"url": "https://github.com/awslabs/aws-lambda-powertools-typescript/issues"
8181
},
8282
"dependencies": {
83-
"@aws-lambda-powertools/commons": "^0.2.0-dev.2",
83+
"@aws-lambda-powertools/commons": "0.2.0-beta.19",
8484
"@types/aws-lambda": "^8.10.72"
8585
}
8686
}

0 commit comments

Comments
 (0)