anthdm/hollywood

Releases/Versioning

rekram1-node opened this issue · 6 comments

Are you planning on setting up a release pipeline so the library can have versioning? Not sure if you are waiting until after the alpha rollout or whatnot but whenever you do want it I could set it up for you if you would like. Super simple and EZ

@rekram1-node sure man! I normally next commit should be the "pre-release" version. Let me know how this would work.

@anthdm Are you saying you want merges to master to be pre-releases and then actual releases would be done manually or by a more discriminatory method? Perhaps I misunderstood what you said...

@rekram1-node Elaborate how you think it should be done/work.

Well the simplest option imo are merges to master create a new versioned release, easily done with github actions and goreleaser, simple mock up missing the filler:

name: releaser

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: Set up Go
- name: Tag Release
- name: Publish Release

@rekram1-node Ok that makes a lot of sense. So, I just tag it and bag it and merge with master?

@anthdm I opened a PR you can look at: #20 lmk if you have any concerns