File tree Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ paths :
7
+ - ' VERSION'
8
+
9
+ jobs :
10
+ release :
11
+ runs-on : [ubuntu-latest]
12
+ steps :
13
+ - name : Check-out code
14
+ uses : actions/checkout@v2
15
+ - name : Read version
16
+ run : |
17
+ echo "version=$(head VERSION)" >> $GITHUB_ENV
18
+ - name : Create release
19
+ uses : ncipollo/release-action@v1
20
+ with :
21
+ omitBody : true
22
+ token : " ${{ secrets.GITHUB_TOKEN }}"
23
+ tag : " ${{ env.version }}"
24
+ commit : " ${{ env.GITHUB_SHA }}"
Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ Thank you for taking the time out to contribute to project Antrea!
4
4
5
5
## Contribute
6
6
7
+ ### Versioning
8
+
9
+ This project follows the [ semantic versioning
10
+ specification] ( https://semver.org/ ) . A new Github release is created
11
+ automatically whenever a commit is pushed to the "main" branch which modifies
12
+ the ` VERSION ` file.
13
+
7
14
### Inclusive Naming
8
15
9
16
For symbol names and documentation, do not introduce new usage of harmful
Original file line number Diff line number Diff line change
1
+ v0.1.0
You can’t perform that action at this time.
0 commit comments