File tree Expand file tree Collapse file tree 3 files changed +30
-26
lines changed Expand file tree Collapse file tree 3 files changed +30
-26
lines changed Original file line number Diff line number Diff line change 1
- name : Makefile CI and Release
1
+ name : Check build
2
2
3
3
on :
4
- push :
5
- branches : [ "master" ]
6
4
pull_request :
7
5
branches : [ "master" ]
8
6
Original file line number Diff line number Diff line change
1
+ name : Bump version
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ jobs :
7
+ build :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ - name : Bump version and push tag
12
+ id : tag_version
13
+ uses : mathieudutour/github-tag-action@v6.0
14
+ with :
15
+ github_token : ${{ secrets.GITHUB_TOKEN }}
16
+ - name : Build
17
+ run : make
18
+ - name : Create a GitHub release
19
+ uses : ncipollo/release-action@v1
20
+ with :
21
+ tag : ${{ steps.tag_version.outputs.new_tag }}
22
+ name : Release ${{ steps.tag_version.outputs.new_tag }}
23
+ body : ${{ steps.tag_version.outputs.changelog }}
24
+ artifacts : " aaronrobson-cv.pdf"
25
+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 36
36
4 . Allow it to download the ` res.cls ` package.
37
37
38
38
### To push to the [ aaronrobson.uk/cv] ( http://www.aaronrobson.uk/cv/ ) website
39
- Run this to find what the next tag should be:
40
- ``` sh
41
- git tag
42
- ```
43
-
44
- Then tag and upload like this:
45
- ``` sh
46
- git tag vx.x
47
- git push --tags
48
- ```
49
-
50
- Raise the PR in github, but don't merge it yet (https://stackoverflow.com/questions/60597400/how-to-do-a-fast-forward-merge-on-github ).
51
-
52
- Then merge locally with:
53
- ``` sh
54
- git checkout master && git merge your-new-branch --ff-only
55
- ```
56
-
57
- And upload like this:
58
- ``` sh
59
- git checkout master
60
- git push
61
- ```
39
+ Make a change in a branch and push to github.
40
+ Have the PR merged to master.
41
+ A sutiable semantic version should be produced and the release produced here
42
+ https://github.com/AaronRobson/AaronRobsonCV/releases/latest/
You can’t perform that action at this time.
0 commit comments