Software developer; I love coffee and using Neovim; got too many keyboards ¯\_(ツ)_/¯
-
FIEGE
- Germany
- @[email protected]
- in/rverst
Pinned Loading
-
-
-
Bash script for checking a semantic ...
Bash script for checking a semantic version 1#!/usr/bin/env bash
2# https://gist.github.com/rverst/1f0b97da3cbeb7d93f4986df6e8e5695
34function chsv_check_version() {
5if [[ $1 =~ ^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)(-((0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*))*))?(\+([0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*))?$ ]]; then
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.