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: Add script to deprecate old versions #1161

Merged
merged 2 commits into from
May 3, 2024

Conversation

robbie-c
Copy link
Member

@robbie-c robbie-c commented May 2, 2024

Changes

Add a script to deprecate old versions. We can deprecate versions before a certain semver and that are older than a certain number of days!

Very intentionally does not deprecate the current version 🙃

Runs in dry-run mode by default.

I think maybe only @timgl can run this... doesn't look like you can automate as it requires 2fa

Checklist

n/a

Copy link

vercel bot commented May 2, 2024

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

Name Status Preview Updated (UTC)
posthog-js ✅ Ready (Inspect) Visit Preview May 3, 2024 8:56am

Copy link

github-actions bot commented May 2, 2024

Size Change: 0 B

Total Size: 972 kB

ℹ️ View Unchanged
Filename Size
dist/array.full.js 234 kB
dist/array.js 131 kB
dist/es.js 131 kB
dist/exception-autocapture.js 12.2 kB
dist/module.js 131 kB
dist/recorder-v2.js 108 kB
dist/recorder.js 108 kB
dist/surveys-module-previews.js 57.2 kB
dist/surveys.js 58.8 kB

compressed-size-action

@robbie-c robbie-c force-pushed the add-script-to-deprecate-old-versions branch from 7cb6e3f to 0b1a10a Compare May 2, 2024 17:15
@robbie-c robbie-c changed the title Add script to deprecate old versions chore: Add script to deprecate old versions May 2, 2024
Copy link
Collaborator

@benjackwhite benjackwhite left a comment

Choose a reason for hiding this comment

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

Nice! annoying that it requires 2fa but at least this is clearly documentable in that sense

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.

2 participants