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

chore: auto publish alpha versions #1414

Merged
merged 23 commits into from
Sep 16, 2024
Merged

chore: auto publish alpha versions #1414

merged 23 commits into from
Sep 16, 2024

Conversation

pauldambra
Copy link
Member

@pauldambra pauldambra commented Sep 12, 2024

Sometimes we want to test changes without releasing them generally
Let's allow ourselves to publish alphas more easily

This trigger type only fires if the workfllow file is on the default branch so I can't test it exclusively in one PR

This PR introduces a workflow file that runs when a specified label is added

The workflow

  • checks the person has write access to posthog-js
  • pushes an alpha prerelease to NPM

To Follow-up

it also isn't clever enough to e.g. push alpha-1, alpha-2 etc so if someone ran it twice on one version of posthog-js then it would fail but my goal today is to push an alpha of #1411 so I can figure out how to use it and then test it

to follow-up to this PR would then be detecting a sensible alpha version to publish

Copy link

vercel bot commented Sep 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
posthog-js ✅ Ready (Inspect) Visit Preview Sep 13, 2024 8:49am

Copy link

github-actions bot commented Sep 12, 2024

Size Change: 0 B

Total Size: 1.19 MB

ℹ️ View Unchanged
Filename Size
dist/array.full.js 341 kB
dist/array.js 157 kB
dist/exception-autocapture.js 10.4 kB
dist/main.js 158 kB
dist/module.js 157 kB
dist/recorder-v2.js 110 kB
dist/recorder.js 111 kB
dist/surveys-preview.js 59.8 kB
dist/surveys.js 66 kB
dist/tracing-headers.js 8.26 kB
dist/web-vitals.js 10.3 kB

compressed-size-action

@pauldambra pauldambra added the release alpha NB _when applied_ release an alpha version to NPM label Sep 12, 2024
README.md Show resolved Hide resolved
@pauldambra pauldambra requested a review from a team September 12, 2024 11:54
@pauldambra pauldambra added release alpha NB _when applied_ release an alpha version to NPM and removed release alpha NB _when applied_ release an alpha version to NPM labels Sep 12, 2024
@pauldambra pauldambra added release alpha NB _when applied_ release an alpha version to NPM and removed release alpha NB _when applied_ release an alpha version to NPM labels Sep 12, 2024
@pauldambra pauldambra added release alpha NB _when applied_ release an alpha version to NPM and removed release alpha NB _when applied_ release an alpha version to NPM labels Sep 12, 2024
@pauldambra pauldambra added release alpha NB _when applied_ release an alpha version to NPM and removed release alpha NB _when applied_ release an alpha version to NPM labels Sep 12, 2024
@pauldambra pauldambra removed the release alpha NB _when applied_ release an alpha version to NPM label Sep 12, 2024
@pauldambra pauldambra added release alpha NB _when applied_ release an alpha version to NPM and removed release alpha NB _when applied_ release an alpha version to NPM labels Sep 12, 2024
@pauldambra pauldambra added release alpha NB _when applied_ release an alpha version to NPM and removed release alpha NB _when applied_ release an alpha version to NPM labels Sep 12, 2024
@pauldambra pauldambra added release alpha NB _when applied_ release an alpha version to NPM and removed release alpha NB _when applied_ release an alpha version to NPM labels Sep 12, 2024
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@pauldambra pauldambra removed the release alpha NB _when applied_ release an alpha version to NPM label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants