Skip to content

Commit bc7df77

Browse files
committed
Run only in master and update RELEASE.md
Signed-off-by: Friedrich Gonzalez <1517449+friedrichg@users.noreply.github.com>
1 parent b0563e6 commit bc7df77

2 files changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/distribution.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@ on:
55
branches: [master]
66
tags:
77
- v[0-9]+.[0-9]+.[0-9]+** # Tag filters not as strict due to different regex system on Github Actions
8-
paths-ignore:
9-
- 'build-image/**'
10-
- '.github/workflows/build-image.yml'
11-
pull_request:
12-
paths-ignore:
13-
- 'build-image/**'
14-
- '.github/workflows/build-image.yml'
158

169
jobs:
1710
build-dist:

RELEASE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ To publish a release candidate:
102102
1. Wait until CI pipeline succeeded (once a tag is created, the release process through GitHub actions will be triggered for this tag)
103103
1. Create a pre-release in GitHub
104104
- Write the release notes (including a copy-paste of the changelog)
105-
- Build binaries with `make dist` and attach them to the release
106-
- Build packages with `make packages`, test them with `make test-packages` and attach them to the release
105+
- Download binaries from the `Dist Binaries` artifact in the [distribution](https://github.com/cortexproject/cortex/actions/workflows/distribution.yml) GitHub Actions workflow for the tag and attach them to the release
106+
- Download packages from the `Packages` artifact in the [distribution](https://github.com/cortexproject/cortex/actions/workflows/distribution.yml) GitHub Actions workflow for the tag and attach them to the release
107107
1. [Sign the artifact and generate SBOM for the release](#sing-and-sbom)
108108

109109
### Publish a stable release
@@ -119,8 +119,8 @@ To publish a stable release:
119119
1. Wait until CI pipeline succeeded (once a tag is created, the release process through GitHub actions will be triggered for this tag)
120120
1. Create a release in GitHub
121121
- Write the release notes (including a copy-paste of the changelog)
122-
- Build binaries with `make dist` and attach them to the release
123-
- Build packages with `make packages`, test them with `make test-packages` and attach them to the release
122+
- Download binaries from the `Dist Binaries` artifact in the [distribution](https://github.com/cortexproject/cortex/actions/workflows/distribution.yml) GitHub Actions workflow for the tag and attach them to the release
123+
- Download packages from the `Packages` artifact in the [distribution](https://github.com/cortexproject/cortex/actions/workflows/distribution.yml) GitHub Actions workflow for the tag and attach them to the release
124124
1. [Sign the artifact and generate SBOM for the release](#sing-and-sbom)
125125
1. Merge the release branch `release-x.y` to `master`
126126
- Create `merge-release-X.Y-to-master` branch **from `release-X.Y` branch** locally

0 commit comments

Comments
 (0)