Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Commit

Permalink
ci: update semantic release configuration (#1282)
Browse files Browse the repository at this point in the history
* build: update remaining dependabot and semantic release configuration

* ci: adjust release workflow to version 2 of open sauced semantic config
  • Loading branch information
0-vortex committed Oct 28, 2021
1 parent 2f9e628 commit 7623e44
Show file tree
Hide file tree
Showing 3 changed files with 2,805 additions and 2,268 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

- name: "馃摝 install dependencies"
run: npm ci

- name: "馃搳 repository visualizer"
id: diagram
uses: githubocto/repo-visualizer@0.7.1
Expand All @@ -64,7 +64,7 @@ jobs:
output_file: "public/diagram.svg"
should_push: false
artifact_name: "diagram"

- name: "馃殌 static app"
run: npm run build

Expand Down Expand Up @@ -159,14 +159,15 @@ jobs:
id: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO_OWNER: ${{ github.repository_owner }}
DOCKER_USERNAME: ${{ github.repository_owner }}
DOCKER_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
GIT_AUTHOR_NAME: ${{ github.event.commits[0].author.username }}
GIT_AUTHOR_EMAIL: ${{ github.event.commits[0].author.email }}
GIT_COMMITTER_NAME: ${{ secrets.GIT_COMMITTER_NAME }}
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}
run: |
cp -R /tmp/build ./build
npx semantic-release
npm run semantic-release
echo "::set-output name=version::$(cat package.json | jq -r '.version')"
cleanup:
Expand Down

0 comments on commit 7623e44

Please sign in to comment.