Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Automate gh release #52

Merged
merged 22 commits into from
Jun 29, 2020
Merged

Automate gh release #52

merged 22 commits into from
Jun 29, 2020

Conversation

jerger
Copy link
Collaborator

@jerger jerger commented Jun 29, 2020

Okay, did some trial & error work for setting up a somehow working CI ...

  • We should have a test status badge on our README
  • PRs should now been tested by GitHub Actions
  • If we tag (the master) with sth like 0.1.2, this should trigger a release build with resulting artifact in GH releases.

Regadring npm I found out how we can start (see package.json). I did a manual triggered publish already so you can test with

sudo npm i mastodon-bot@0.1.0-dev-1 -g
mastodon-bot -h

@yogthos
Copy link
Owner

yogthos commented Jun 29, 2020

That looks fantastic, I'm good to merge in if you are. :)

@jerger
Copy link
Collaborator Author

jerger commented Jun 29, 2020

go on your mark :-)

maybe want to try the tagging thing?

@yogthos
Copy link
Owner

yogthos commented Jun 29, 2020

Yeah sure, I'll merge in and make a tag then. :)

@yogthos yogthos merged commit 24627ce into yogthos:master Jun 29, 2020
@yogthos
Copy link
Owner

yogthos commented Jun 29, 2020

I bumped up package.json to 1.0.0, and pushed a tag v1.0.0, might as well treat it as the official a 1.0 release. :)

@jerger
Copy link
Collaborator Author

jerger commented Jun 29, 2020

the tags name should either be 1.0.0 or you may insert a 'v' here:

tags: '[0-9]+.[0-9]+.[0-9]+'

@yogthos
Copy link
Owner

yogthos commented Jun 29, 2020

ah my bad, just fixed it

@jerger
Copy link
Collaborator Author

jerger commented Jun 29, 2020

hmm ... it still is publishing as pre release ...
Will adjust and search how to publish to npm also ... in the next PR :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants