File size: 1,062 Bytes
aba41f2
 
 
 
 
 
 
 
 
52cda84
 
 
 
 
 
 
 
 
 
 
 
b1368c2
52cda84
 
 
 
 
 
aba41f2
68f1407
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Release Protocol

We use 2 spaces on hugging face: one for the development of the interface and the main space for showcasing the most recent stable release. The main branch is protected and deploys to the main space when a PR is accepted.

We wish to enforce strict commits from the dev branch to the main branch when a PR is made to create a new release.

Dev to Main PR Checklist:

1. Open a PR from dev branch to main branch
2. Commit: in `dataset/download` change the `dataset_id` to point to the main dataset : `Saving-Willy/main_dataset`
3. Commit: in the ReadMe, to avoid merge conflict, change the header to this  : 

```
---
title: Saving Willy
emoji: 🐋
colorFrom: indigo
colorTo: blue
sdk: streamlit
sdk_version: 1.39.0
python_version: "3.10"
app_file: src/home.py
pinned: false
license: apache-2.0
short_description: 'SDSC Hackathon - Project 10. '
---
```

4. Ask for Review
5. Merge to main upon approval
6. Make a new tag for a major version change (semantic versioning) i.e. `vX.0.0`
7. Make a new release of the code, associated to this tag