mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-04 20:37:56 +00:00
ci: Remove changelog generation for now
This commit is contained in:
parent
690bbf1b60
commit
935863ddb7
26
.github/workflows/workflow.yml
vendored
26
.github/workflows/workflow.yml
vendored
@ -135,32 +135,6 @@ jobs:
|
||||
- name: Run tests in Docker
|
||||
run: docker run --rm -v $(pwd):/src/starship starshipcommand/starship-test
|
||||
|
||||
generate_changelog:
|
||||
if: github.ref == 'refs/heads/master'
|
||||
name: Update Changelog
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Delete old changelog
|
||||
run: rm -rf CHANGELOG.md
|
||||
- name: Generate changelog
|
||||
run: |
|
||||
# Temporary fix for https://github.com/actions/setup-go/issues/14
|
||||
export PATH=$PATH:$(go env GOPATH)/bin
|
||||
go get -u github.com/git-chglog/git-chglog/cmd/git-chglog
|
||||
git-chglog -c .github/chglog/changelog.yml > CHANGELOG.md
|
||||
- name: Commit new changelog
|
||||
run: |
|
||||
git config user.email "bot@starship.rs"
|
||||
git config user.name "Starship Bot"
|
||||
|
||||
git checkout master
|
||||
git add CHANGELOG.md
|
||||
git commit -m "chore: Update changelog"
|
||||
git push "https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.git" master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
# Publish starship to Crates.io
|
||||
cargo_publish:
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
|
Loading…
Reference in New Issue
Block a user