Commit Graph
17 Commits
Author SHA1 Message Date
An PhiandMateusz Burzyński 5c0997b25e Added createGithubReleases input option (defaults to true) to control whether to create Github releases during publish or not (#130)
* allow skipping creation of Github releases

* fixes for PR review

* minor improvements

* add changeset

* nits

Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2022-01-23 11:07:42 +01:00
Jack LeslieandMitchell Hamilton d3db9eceaf Added setupGitUser option to enable or disable setting up a default git user (#131)
* custom git user option

* Create two-dolls-promise.md

* Update two-dolls-promise.md

* change input name and update default

* Update .changeset/two-dolls-promise.md

Co-authored-by: Mitchell Hamilton <mitchell@hamil.town>
2022-01-07 15:27:29 +01:00
Mateusz BurzyńskiandDhruvdutt Jadhav 19373036c4 Setup the git user in the local config instead of the global one (#128)
* Update gitUtils.ts

* add changeset

Co-authored-by: Dhruvdutt Jadhav <dhruvdutt.jadhav@razorpay.com>
2021-12-23 11:21:40 +01:00
Mateusz BurzyńskiandNicola Molinari 05c863d3f9 Switch to Changesets-based release process (#118)
* Switch to Changesets-based release process

* Bump version

* drop unused variable

* Update .github/workflows/version-or-publish.yml

Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com>

* Push also to a release line branch when releasing

* Change node version used in the version-or-publish workflow

* Switch to using the local action

Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com>

* build the action before trying to use it the workflow

* Add changeset and actually setup Changesets, lol

Co-authored-by: Nicola Molinari <nicola.molinari@commercetools.com>
2021-11-25 17:51:48 +01:00
Nicola MolinariandMateusz Burzyński 21240c3cd1 Fixed authToken detection in the user .npmrc (allow for leading whitespace) (#116)
* fix: adjust regex to include leading whitespaces

* tweak regexp

Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2021-11-11 17:26:06 +01:00
Mateusz Burzyński 8090f2a918 Add authToken for the npm registry to user-level .npmrc if it is not there (#110) 2021-11-09 06:28:22 +01:00
Mateusz Burzyński c3d88279fd Add hasChangesets output (#102) 2021-08-19 08:32:25 +02:00
Jon RohanandMateusz Burzyński c291823920 Set the name of created releases - which ends up as its title in the UI (#84)
* Sending name: argument to createRelease

* Rebuild the dist file

Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2021-04-07 18:26:15 +02:00
Mateusz Burzyński aacbc22392 Avoid changing HEAD when executing publish (#81) 2021-03-23 11:04:41 +01:00
Mateusz Burzyński b5c0c12a1d Throw custom error for MODULE_NOT_FOUND when loading @changesets/cli (#76) 2021-03-22 11:35:40 +10:00
Jacob Gillespie 640c4a5d64 Switch to using resolve-from rather than require.resolve (#71) 2021-02-16 00:36:35 +01:00
Jacob Gillespie bf4c612018 Require @changesets/cli resolving from cwd (#67)
* Resolve @changesets/cli with resolve-from

* Use require.resolve directly

* Add documentation section to README

* Add custom version command docs for Yarn 2
2021-02-15 18:51:03 +01:00
Mateusz Burzyński 6c6b3b9bb0 Fixed an issue with the action crashing on commit attempts in projects with commit: true (#61) 2020-11-30 08:10:04 +01:00
Mateusz Burzyński bfeb9e077e Fixed an issue with treating single package repositories without changesets as versioned at all times (#41) 2020-07-07 10:06:02 +10:00
Mateusz Burzyński 2c7afd615c Upgrade @actions/* packages (#40) 2020-07-06 20:33:19 +10:00
Mateusz Burzyński d846247242 Remove leftover comment 2020-07-06 11:29:23 +02:00
Mateusz Burzyński cd904b92c7 Fixed an issue with ignored package being included in PR body incorrectly (#38) 2020-07-06 19:08:41 +10:00