29 Commits

Author SHA1 Message Date
Chad Whitacre
d8fd74f1d3
Standardizing on this (#814) 2021-01-14 15:24:21 -05:00
Burak Yigit Kaya
fc1c62995a
ci(release): Enable the CalVer flag for release (#801)
We need this for automated version numbers
2021-01-07 23:44:38 +03:00
Burak Yigit Kaya
99e71b180c
ci(release): Upgrade action-prepare-release to latest version (#798)
* ci(release): Upgrade action-prepare-release to latest version

This version reduces the boilerplate needed and offers much better publish request issue context.

* use the version tag
2021-01-07 21:57:40 +03:00
Burak Yigit Kaya
70877f64bb
ci(release): Pin action-prepare-release to 33507ed (#792)
This is to avoid any issues when getsentry/action-prepare-release#4 is merged.
2021-01-06 00:38:03 +03:00
Burak Yigit Kaya
500c02b28a
ci(release): Move to getsentry/publish for releases (#775)
A copy of getsentry/sentry#22657 with fixes included.

That said this one is a bit different. We used to use the extra option `no-merge` when publishing to keep the release branches and also keep master on nightly versions. If we want to keep this, we need to add per-project overrides to getsentry/publish which would increase complexity at this early stage for this fringe case. Instead, I opted to follow what getsentry/sentry does: merge but then immediately after that update the version.
2020-12-15 18:52:24 +03:00
Burak Yigit Kaya
41e7d862f1
ci(release): Use action-prepare-release and rework dry-run (#761)
Switches to using getsentry/action-prepare-release for common steps and removes the dry run option from the prepare stage as it prevents us from testing the publish step. Prepare step should be safe anyways and can be skipped with the `skip-prepare` input.

Related: https://app.asana.com/0/1198192131329257/1198192131329301, https://app.asana.com/0/1198192131329257/1198192573081717
2020-12-03 20:58:26 +03:00
Chad Whitacre
bd284d0b7f
ci(release): fix a couple typos 🐭 (#746) 2020-11-17 17:21:37 -05:00
Burak Yigit Kaya
65cb0c3821
ci(release): Don't use global git conf (#745) 2020-11-18 00:35:09 +03:00
Burak Yigit Kaya
99c9c529fb
ci(release): Align release workflow with getsentry/sentry (#744)
Adds names to steps, adds the sleep between prep and publish, adds the global git user config..
2020-11-18 00:27:05 +03:00
Jan Michael Auer
8512f52ba5
ci(gha): Mark version as optional in release workflow (#704) 2020-10-15 20:07:46 +02:00
Burak Yigit Kaya
1ba417663a
fix(release): Bump the license date on master w/ calver releases (#658) 2020-09-08 18:52:46 +03:00
Tomasz Kontusz
1a9b45fb9f
EditorConfig and indentation fixes (#650)
EditorConfig based on conversation in https://github.com/getsentry/onpremise/pull/615#discussion_r477338006, and with the indentation fixes.

This PR will probably conflict with everything, but at least the code is a little bit more consistent :-D
2020-08-31 14:40:52 +03:00
Burak Yigit Kaya
61bc028a17
ci(craft): Remove the delay between prepare and publish
This should be obsolete by getsentry/craft#117.
2020-08-27 21:45:54 +03:00
Burak Yigit Kaya
918cee5749
ci(release): Fix cancellation URL 2020-08-15 17:16:24 +03:00
Burak Yigit Kaya
7bf8355815
ci(release): Add note when killswitch is activated 2020-08-15 17:11:46 +03:00
Burak Yigit Kaya
1410d00296
ci(release): Add the killswitch option to workflow UI 2020-08-15 16:45:45 +03:00
Burak Yigit Kaya
cf350bd700
"ci(release): Add killswitch via issues w/ release-blocker label
Implements https://app.asana.com/0/1169344595888357/1146357826982899/f which would cancel the workflow (stop the release) when the repo has open issues with the label 'release-blocker'".
2020-08-15 16:40:37 +03:00
Burak Yigit Kaya
5d00d613fa
ci(release): Move to workflow_dispatch for UI-triggered releases 2020-08-12 13:05:14 +03:00
Burak Yigit Kaya
4dbfcbcebe
ci(release): Fix quotes for auto version setting 2020-07-18 01:26:47 +03:00
Burak Yigit Kaya
17d97e13c0
ci(release): Smarter and safer auto version setting
If the release action is run without an explicit version in the same calendar month more than once, all of them will try to release the same version where the patch version is set to 0. This is never the intended action: if we are making a new release in the same month where an old one exists, it is 100% a patch release.

This PR automatically implements patch version increment based on existing versions.
2020-07-17 22:34:11 +03:00
Burak Yigit Kaya
b0577a3b27
ci(craft): Add delay between prepare and publish 2020-07-15 22:42:46 +03:00
Burak Yigit Kaya
f66ca96fa7
build(gha): Add skip_prepare option for manual triggers 2020-06-16 23:11:09 +03:00
Burak Yigit Kaya
b2b497e619
build(gha): Workaround for Craft action params 2020-06-16 22:55:03 +03:00
Burak Yigit Kaya
d83aa55bf8
build(gha): Add name to release action 2020-06-16 22:49:00 +03:00
Burak Yigit Kaya
ea2c31f012
build(gha): Add GIT_*_NAME variables 2020-06-16 22:48:09 +03:00
Burak Yigit Kaya
2fc9811c74
build(gha): Add automated CalVer releases (#539) 2020-06-16 12:44:13 +03:00
Burak Yigit Kaya
cfaa368306
fix(gha): Add version to craft-action 2020-06-14 17:36:53 +03:00
Burak Yigit Kaya
8c7b633b90
fix(gha): Fix indent in yaml file 2020-06-14 17:29:34 +03:00
Burak Yigit Kaya
af502d0ba5
build(gha): Add Craft releases as a GitHub action (#538) 2020-06-14 17:27:41 +03:00