Skip to content

Commit

Permalink
Test release CI (#2)
Browse files Browse the repository at this point in the history
* testing release pipeline

* enabled release.yml for this branch

* bump

* finalized release.yml

Co-authored-by: martin <martin.lampacher@gmail.com>
  • Loading branch information
lmapii and lmapii authored May 25, 2022
1 parent 0b21248 commit 66f9f9a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: release

on:
push:
# # Enable when testing release infrastructure on a branch.
# Enable when testing release infrastructure on a branch.
# branches:
# - feature/fix-release
# - test-release-ci
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

Expand All @@ -16,7 +16,7 @@ jobs:
name: create-release
runs-on: ubuntu-latest
# env:
# # Set to force version number, e.g., when no tag exists.
# # Set to force a version number, e.g., when no tag exists (testing on a branch)
# APP_VERSION: v255.255.255
outputs:
# create an output release from future step (by id)
Expand Down Expand Up @@ -99,8 +99,6 @@ jobs:
staging="run-clang-tidy-${{ needs.create-release.outputs.app_version }}-${{ matrix.tuple.target }}"
mkdir -p "$staging"
cp {readme.md,LICENSE,changelog.md} "$staging/"
if [ "${{ matrix.tuple.os }}" = "windows-latest" ]; then
cp "target/${{ matrix.tuple.target }}/release/run-clang-tidy.exe" "$staging/"
7z a "$staging.zip" "$staging"
Expand Down

0 comments on commit 66f9f9a

Please sign in to comment.