Skip to content

Commit

Permalink
chore: new prerelease logic
Browse files Browse the repository at this point in the history
  • Loading branch information
iowillhoit committed Jul 20, 2023
1 parent 01d72ca commit 568e9e8
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 61 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/create-github-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: create-github-release

on:
push:
branches:
- main
- prerelease/**
tags-ignore:
- '*'
workflow_dispatch:
inputs:
prerelease:
type: string
description: 'Name to use for the prerelease: beta, dev, etc. NOTE: If this is already set in the package.json, it does not need to be passed in here.'

jobs:
release:
uses: salesforcecli/github-workflows/.github/workflows/create-github-release.yml@main
secrets: inherit
with:
prerelease: ${{ inputs.prerelease }}
# If this is a push event, we want to skip the release if there are no semantic commits
# However, if this is a manual release (workflow_dispatch), then we want to disable skip-on-empty
# This helps recover from forgetting to add semantic commits ('fix:', 'feat:', etc.)
skip-on-empty: ${{ github.event_name == 'push' }}
docs:
needs: release
if: github.ref_name == 'main'
uses: salesforcecli/github-workflows/.github/workflows/publishTypedoc.yml@main
secrets: inherit
36 changes: 0 additions & 36 deletions .github/workflows/manualRelease.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/onPushToMain.yml

This file was deleted.

8 comments on commit 568e9e8

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logger Benchmarks - ubuntu-latest

Benchmark suite Current: 568e9e8 Previous: 6f9451a Ratio
Child logger creation 12701 ops/sec (±0.82%) 462880 ops/sec (±0.95%) 36.44
Logging a string on root logger 57894 ops/sec (±0.63%) 524461 ops/sec (±11.10%) 9.06
Logging an object on root logger 50496 ops/sec (±0.17%) 395699 ops/sec (±12.14%) 7.84
Logging an object with a message on root logger 23734 ops/sec (±0.83%) 247373 ops/sec (±12.93%) 10.42
Logging an object with a redacted prop on root logger 43989 ops/sec (±1.11%) 13557 ops/sec (±187.48%) 0.31
Logging a nested 3-level object on root logger 42705 ops/sec (±0.30%) 299208 ops/sec (±14.47%) 7.01

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Logger Benchmarks - ubuntu-latest'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 568e9e8 Previous: 6f9451a Ratio
Child logger creation 12701 ops/sec (±0.82%) 462880 ops/sec (±0.95%) 36.44
Logging a string on root logger 57894 ops/sec (±0.63%) 524461 ops/sec (±11.10%) 9.06
Logging an object on root logger 50496 ops/sec (±0.17%) 395699 ops/sec (±12.14%) 7.84
Logging an object with a message on root logger 23734 ops/sec (±0.83%) 247373 ops/sec (±12.93%) 10.42
Logging a nested 3-level object on root logger 42705 ops/sec (±0.30%) 299208 ops/sec (±14.47%) 7.01

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logger Benchmarks - windows-latest

Benchmark suite Current: 568e9e8 Previous: 6f9451a Ratio
Child logger creation 3169 ops/sec (±1.78%) 339366 ops/sec (±17.22%) 107.09
Logging a string on root logger 51810 ops/sec (±1.25%) 452263 ops/sec (±19.75%) 8.73
Logging an object on root logger 37757 ops/sec (±1.39%) 309332 ops/sec (±20.29%) 8.19
Logging an object with a message on root logger 15445 ops/sec (±1.69%) 179100 ops/sec (±19.05%) 11.60
Logging an object with a redacted prop on root logger 32543 ops/sec (±1.58%) 246463 ops/sec (±20.52%) 7.57
Logging a nested 3-level object on root logger 29312 ops/sec (±2.76%) 138432 ops/sec (±22.01%) 4.72

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Logger Benchmarks - windows-latest'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 568e9e8 Previous: 6f9451a Ratio
Child logger creation 3169 ops/sec (±1.78%) 339366 ops/sec (±17.22%) 107.09
Logging a string on root logger 51810 ops/sec (±1.25%) 452263 ops/sec (±19.75%) 8.73
Logging an object on root logger 37757 ops/sec (±1.39%) 309332 ops/sec (±20.29%) 8.19
Logging an object with a message on root logger 15445 ops/sec (±1.69%) 179100 ops/sec (±19.05%) 11.60
Logging an object with a redacted prop on root logger 32543 ops/sec (±1.58%) 246463 ops/sec (±20.52%) 7.57
Logging a nested 3-level object on root logger 29312 ops/sec (±2.76%) 138432 ops/sec (±22.01%) 4.72

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logger Benchmarks - ubuntu-latest

Benchmark suite Current: 568e9e8 Previous: 6f9451a Ratio
Child logger creation 15155 ops/sec (±0.68%) 462880 ops/sec (±0.95%) 30.54
Logging a string on root logger 71281 ops/sec (±0.07%) 524461 ops/sec (±11.10%) 7.36
Logging an object on root logger 60606 ops/sec (±0.08%) 395699 ops/sec (±12.14%) 6.53
Logging an object with a message on root logger 28843 ops/sec (±0.10%) 247373 ops/sec (±12.93%) 8.58
Logging an object with a redacted prop on root logger 54766 ops/sec (±0.07%) 13557 ops/sec (±187.48%) 0.25
Logging a nested 3-level object on root logger 49531 ops/sec (±0.13%) 299208 ops/sec (±14.47%) 6.04

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Logger Benchmarks - ubuntu-latest'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 568e9e8 Previous: 6f9451a Ratio
Child logger creation 15155 ops/sec (±0.68%) 462880 ops/sec (±0.95%) 30.54
Logging a string on root logger 71281 ops/sec (±0.07%) 524461 ops/sec (±11.10%) 7.36
Logging an object on root logger 60606 ops/sec (±0.08%) 395699 ops/sec (±12.14%) 6.53
Logging an object with a message on root logger 28843 ops/sec (±0.10%) 247373 ops/sec (±12.93%) 8.58
Logging a nested 3-level object on root logger 49531 ops/sec (±0.13%) 299208 ops/sec (±14.47%) 6.04

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logger Benchmarks - windows-latest

Benchmark suite Current: 568e9e8 Previous: 6f9451a Ratio
Child logger creation 4713 ops/sec (±9.71%) 339366 ops/sec (±17.22%) 72.01
Logging a string on root logger 58738 ops/sec (±0.56%) 452263 ops/sec (±19.75%) 7.70
Logging an object on root logger 48896 ops/sec (±0.88%) 309332 ops/sec (±20.29%) 6.33
Logging an object with a message on root logger 23078 ops/sec (±1.20%) 179100 ops/sec (±19.05%) 7.76
Logging an object with a redacted prop on root logger 45025 ops/sec (±0.82%) 246463 ops/sec (±20.52%) 5.47
Logging a nested 3-level object on root logger 39048 ops/sec (±12.07%) 138432 ops/sec (±22.01%) 3.55

This comment was automatically generated by workflow using github-action-benchmark.

@svc-cli-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Logger Benchmarks - windows-latest'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 568e9e8 Previous: 6f9451a Ratio
Child logger creation 4713 ops/sec (±9.71%) 339366 ops/sec (±17.22%) 72.01
Logging a string on root logger 58738 ops/sec (±0.56%) 452263 ops/sec (±19.75%) 7.70
Logging an object on root logger 48896 ops/sec (±0.88%) 309332 ops/sec (±20.29%) 6.33
Logging an object with a message on root logger 23078 ops/sec (±1.20%) 179100 ops/sec (±19.05%) 7.76
Logging an object with a redacted prop on root logger 45025 ops/sec (±0.82%) 246463 ops/sec (±20.52%) 5.47
Logging a nested 3-level object on root logger 39048 ops/sec (±12.07%) 138432 ops/sec (±22.01%) 3.55

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.