feat: add unregister command and update architecture docs #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Build release packages | |
| env: | |
| VERSION: ${{ github.ref_name }} | |
| COMMIT: ${{ github.sha }} | |
| run: | | |
| set -euo pipefail | |
| SHORT_COMMIT="$(echo "$COMMIT" | cut -c1-7)" | |
| make package VERSION="$VERSION" COMMIT="$SHORT_COMMIT" | |
| - name: Upload workflow artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ende-release-${{ github.ref_name }} | |
| path: | | |
| dist/ende* | |
| dist/packages/* | |
| if-no-files-found: error | |
| - name: Create GitHub Release and upload assets | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| tag_name: ${{ github.ref_name }} | |
| generate_release_notes: true | |
| files: | | |
| dist/ende* | |
| dist/packages/*.tar.gz | |
| dist/packages/*.zip | |
| dist/packages/SHA256SUMS |