Skip to content
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

Prerelease/v2 #588

Merged
merged 35 commits into from
Jan 23, 2023
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
e0df516
chore: create v2 prerelease
mdonnalley Jan 12, 2023
5989c19
fix: tests
mdonnalley Jan 12, 2023
2455dd3
chore(release): 2.0.0-beta.1 [skip ci]
svc-cli-bot Jan 12, 2023
3617d83
chore(release): 2.0.1 [skip ci]
svc-cli-bot Jan 12, 2023
4af6474
fix: onRelease github action
mdonnalley Jan 12, 2023
7feb109
fix: correct version
mdonnalley Jan 12, 2023
94e7f13
chore(release): 2.0.0-beta.3 [skip ci]
svc-cli-bot Jan 12, 2023
d5f45af
feat: version 2.0.0 (#539)
mdonnalley Jan 12, 2023
69cb94c
chore(release): 2.0.0-beta.4 [skip ci]
svc-cli-bot Jan 12, 2023
f60c3a0
fix: make ux stubbable again
mdonnalley Jan 12, 2023
0dc3a23
chore(release): 2.0.0-beta.5 [skip ci]
svc-cli-bot Jan 12, 2023
59e1ce3
fix: default id on statically instantiated commands
mdonnalley Jan 17, 2023
fe7012e
chore(release): 2.0.0-beta.6 [skip ci]
svc-cli-bot Jan 17, 2023
d79aea3
fix: remove PromiseLike
mdonnalley Jan 17, 2023
5c6f4f0
chore(release): 2.0.0-beta.7 [skip ci]
svc-cli-bot Jan 17, 2023
7e7218d
fix: bump package version
mdonnalley Jan 17, 2023
e888e36
chore(release): 2.0.2-beta.1 [skip ci]
svc-cli-bot Jan 17, 2023
534df74
fix: add missing dev dependency
mdonnalley Jan 17, 2023
d4b3ab3
chore(release): 2.0.2-beta.2 [skip ci]
svc-cli-bot Jan 17, 2023
93de62f
fix: force publish
mdonnalley Jan 17, 2023
3dc2048
chore(release): 2.0.2-beta.4 [skip ci]
svc-cli-bot Jan 17, 2023
5156d44
fix: type issues
mdonnalley Jan 17, 2023
75acd5a
chore(release): 2.0.2-beta.5 [skip ci]
svc-cli-bot Jan 17, 2023
d646005
fix: types
mdonnalley Jan 17, 2023
f918c76
chore(release): 2.0.2-beta.6 [skip ci]
svc-cli-bot Jan 17, 2023
d501405
fix: more backwards compatiblity
mdonnalley Jan 19, 2023
9651bf0
chore(release): 2.0.2-beta.7 [skip ci]
svc-cli-bot Jan 19, 2023
5ccbfbb
Merge branch 'main' into prerelease/v2
mdonnalley Jan 19, 2023
0be1c62
chore(release): 2.0.2-beta.8 [skip ci]
svc-cli-bot Jan 19, 2023
c47ab29
fix: code review
mdonnalley Jan 19, 2023
648a3be
chore(release): 2.0.2-beta.9 [skip ci]
svc-cli-bot Jan 19, 2023
257c81b
Merge branch 'main' into prerelease/v2
mdonnalley Jan 19, 2023
56d7b26
chore(release): 2.0.2-beta.10 [skip ci]
svc-cli-bot Jan 19, 2023
92ff4e5
Merge branch 'main' into prerelease/v2
mdonnalley Jan 23, 2023
3f403df
chore(release): 2.0.2-beta.11 [skip ci]
svc-cli-bot Jan 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"oclif-typescript"
],
"rules": {
"unicorn/no-abusive-eslint-disable": "off",
"unicorn/prefer-spread": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/import-style": "off",
Expand All @@ -16,6 +14,6 @@
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
"no-useless-constructor": "off"
}
}
11 changes: 7 additions & 4 deletions .github/workflows/onPushToMain.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# test
name: version, tag and github release

on:
push:
branches: [main]
branches:
- main
- prerelease/*
tags-ignore:
- "*"

jobs:
release:
uses: oclif/github-workflows/.github/workflows/githubRelease.yml@main
secrets: inherit
with:
prerelease: ${{ github.ref_name != 'main' }}

# most repos won't use this
# depends on previous job to avoid git collisions, not for any functionality reason
Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/onRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: publish

on:
release:
types: [released]
types: [published]
# support manual release in case something goes wrong and needs to be repeated or tested
workflow_dispatch:
inputs:
Expand All @@ -11,9 +11,22 @@ on:
type: string
required: true
jobs:
# parses the package.json version and detects prerelease tag (ex: beta from 4.4.4-beta.0)
getDistTag:
outputs:
tag: ${{ steps.distTag.outputs.tag }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.release.tag_name || inputs.tag }}
- uses: oclif/github-workflows/.github/actions/getPreReleaseTag@main
id: distTag

npm:
uses: oclif/github-workflows/.github/workflows/npmPublish.yml@main
needs: [getDistTag]
with:
tag: latest
tag: ${{ needs.getDistTag.outputs.tag || 'latest' }}
githubTag: ${{ github.event.release.tag_name || inputs.tag }}
secrets: inherit
Loading