Skip to content

feat: Allow for disk size in ec2 instances #173

feat: Allow for disk size in ec2 instances

feat: Allow for disk size in ec2 instances #173

Workflow file for this run

name: Check Semantic Versioning
on:
- pull_request
jobs:
version-check:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check version
id: check-version
run: |
if [[ $(git diff origin/main -- VERSION | wc -c) -eq 0 ]]
then
echo "VERSION file must be updated"
exit 1
fi
rx='^1!([0-9]+\.){0,2}(\*|[0-9]+)$'
version=$(cat VERSION)
if [[ ! $version =~ $rx ]]; then
echo "VERSION must be in 1!<major>.<minor>.<patch> format, not $version"
exit 1
fi