mirror of https://github.com/bpkg/bpkg
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
573 B
YAML
29 lines
573 B
YAML
name: versions
|
|
|
|
on:
|
|
- pull_request
|
|
- push
|
|
|
|
jobs:
|
|
verify-tags:
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout
|
|
with:
|
|
force-depth: 0
|
|
|
|
- name: Verify setup.sh for each tag
|
|
run: |
|
|
for tag in "$(git tag -l"); do
|
|
echo "Verify $tag:"
|
|
|
|
curl https://raw.githubusercontent.com/bpkg/bpkg/$tag/setup.sh | bash
|
|
version="$(bpkg --version)"
|
|
|
|
if [ "$version" != "$tag" ]; then
|
|
echo "Failed to verify $tag"
|
|
exit 1
|
|
fi
|
|
done
|