File tree 2 files changed +25
-10
lines changed
2 files changed +25
-10
lines changed Original file line number Diff line number Diff line change 37
37
env :
38
38
GH_TOKEN : ${{ secrets.GH_TOKEN }}
39
39
COMMIT_MSG : |
40
- [docgen] Update docs
40
+ chore(docs): Update docs
41
41
run : |
42
42
rm lemmy-help
43
43
git config user.name github-actions
Original file line number Diff line number Diff line change 29
29
- name : Update changelog
30
30
run : |
31
31
nvim -l scripts/generate_changelog.lua ${{ github.event.inputs.version }}
32
- - name : Print generated changelog
33
- run : |
34
- cat docs/changelog.org
35
32
- name : Get release info
36
33
id : release_info
37
34
run : |
41
38
echo "$changes"
42
39
echo 'EOF'
43
40
} >> $GITHUB_OUTPUT
44
- # - name: Tag new version
45
- # run: |
46
- # git tag -a ${{ github.event.inputs.version }} -m "Release ${{ github.evente.inputs.version }}"
47
- - name : Print release info
48
- run :
49
- echo "${{ steps.release_info.outputs.output }}"
41
+ - name : Commit changelog
42
+ env :
43
+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
44
+ COMMIT_MSG : |
45
+ chore(release): update changelog
46
+ run : |
47
+ git config user.name github-actions
48
+ git config user.email [email protected]
49
+ git add docs/changelog.org
50
+ git commit -m "${COMMIT_MSG}"
51
+ git push
52
+ - name : Tag new version
53
+ run : |
54
+ git tag -a ${{ github.event.inputs.version }} -m "Release ${{ github.event.inputs.version }}"
55
+ git push --tags
56
+ - name : Create Release
57
+ id : create_release
58
+ uses : actions/create-release@v1
59
+ env :
60
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
61
+ with :
62
+ tag_name : ${{ github.event.inputs.version }}
63
+ release_name : Release ${{ github.event.inputs.version }}
64
+ body : ${{ steps.release_info.outputs.output }}
You can’t perform that action at this time.
0 commit comments