Skip to content

Commit 948022f

Browse files
committed
Improve release workflow
* Include the specification version in the commit message when adding the built version to the gh-pages branch. * Use the mailing list address for the automation's git user.email Signed-off-by: Joshua Lock <[email protected]>
1 parent a9b3075 commit 948022f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,15 @@ jobs:
6969

7070
- name: Push generated specification
7171
if: steps.getver.outputs.spec_version != steps.prevver.outputs.prev_version
72+
env:
73+
SPEC_VERSION: v${{ steps.getver.outputs.spec_version }}
7274
run: |
7375
git config user.name "TUF Specification Automation"
74-
git config user.email tuf-spec-bot@example.com
76+
git config user.email theupdateframework@googlegroups.com
7577
rm -fr latest
7678
mv build/* .
7779
rmdir build
7880
make index
7981
git add .
80-
git commit -m "Publish latest specification"
82+
git commit -m "Publish latest specification $SPEC_VERSION"
8183
git push

0 commit comments

Comments
 (0)