Skip to content

Commit 7302c7f

Browse files
authored
chore: remove semantic release (#253)
We're switching to release-please.
1 parent a360d38 commit 7302c7f

4 files changed

Lines changed: 51 additions & 73 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ on:
66
- main
77
pull_request:
88

9-
concurrency:
10-
group: ${{ github.workflow }}-${{ github.ref }}
11-
cancel-in-progress: false
12-
139
jobs:
1410
ci:
1511
name: CI
@@ -32,67 +28,3 @@ jobs:
3228
run: yarn test
3329
- name: Build
3430
run: yarn build
35-
build:
36-
name: Build
37-
needs: ci
38-
if: github.event_name == 'push'
39-
runs-on: ubuntu-latest
40-
permissions:
41-
contents: read
42-
pages: write
43-
id-token: write
44-
steps:
45-
- uses: actions/checkout@v6
46-
with:
47-
fetch-depth: 0
48-
- uses: actions/setup-node@v6
49-
with:
50-
node-version-file: .node-version
51-
cache: 'yarn'
52-
- name: Install
53-
run: yarn install
54-
- id: setup_pages
55-
uses: actions/configure-pages@v5
56-
- name: Build
57-
run: yarn build
58-
- name: Upload artifact
59-
uses: actions/upload-pages-artifact@v4
60-
with:
61-
path: ./dist
62-
deploy:
63-
name: Deploy
64-
needs: build
65-
permissions:
66-
contents: read
67-
pages: write
68-
id-token: write
69-
environment:
70-
name: github-pages
71-
url: ${{ steps.deployment.outputs.page_url }}
72-
runs-on: ubuntu-latest
73-
steps:
74-
- id: deployment
75-
uses: actions/deploy-pages@v4
76-
release:
77-
name: Release
78-
runs-on: ubuntu-latest
79-
needs: deploy
80-
permissions:
81-
contents: write
82-
issues: write
83-
pull-requests: write
84-
id-token: write
85-
steps:
86-
- uses: actions/checkout@v6
87-
with:
88-
fetch-depth: 0
89-
- uses: actions/setup-node@v6
90-
with:
91-
node-version-file: .node-version
92-
cache: 'yarn'
93-
- name: Install
94-
run: yarn install
95-
- name: Release
96-
run: yarn run semantic-release
97-
env:
98-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/deploy.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: false
11+
12+
jobs:
13+
build:
14+
name: Build
15+
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
pages: write
19+
id-token: write
20+
steps:
21+
- uses: actions/checkout@v6
22+
with:
23+
fetch-depth: 0
24+
- uses: actions/setup-node@v6
25+
with:
26+
node-version-file: .node-version
27+
cache: 'yarn'
28+
- name: Install
29+
run: yarn install
30+
- id: setup_pages
31+
uses: actions/configure-pages@v5
32+
- name: Build
33+
run: yarn build
34+
- name: Upload artifact
35+
uses: actions/upload-pages-artifact@v4
36+
with:
37+
path: ./dist
38+
deploy:
39+
name: Deploy
40+
needs: build
41+
permissions:
42+
contents: read
43+
pages: write
44+
id-token: write
45+
environment:
46+
name: github-pages
47+
url: ${{ steps.deployment.outputs.page_url }}
48+
runs-on: ubuntu-latest
49+
steps:
50+
- id: deployment
51+
uses: actions/deploy-pages@v4

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,3 @@ VITE_DEFAULT_HREF=https://my-stac-api.com
8484

8585
Then run `yarn build` and deploy the `dist/` directory to your static hosting provider.
8686
For an example of white-labeling **stac-map**, see https://github.com/gadomski/eoapi.stac-map.io.
87-
88-
## Versioning
89-
90-
For now, we use a form of [Sentimental Versioning](https://github.com/dominictarr/sentimental-versioning#readme), where we use MAJOR, MINOR, and PATCH versions to communicate the "weight" of changes.
91-
We may formalize our releases into a stricter form of [Semantic Versioning](https://semver.org/) at some point in the future.

0 commit comments

Comments
 (0)