The attached script provides a function for comparing semantic versions in a POSIX shell script.
Result | Description |
---|---|
-1 |
A<B |
0 |
A=B |
1 |
A>B |
AWS_ACCESS_KEY_ID= | |
AWS_SECRET_ACCESS_KEY= | |
AWS_HOSTED_ZONE_ID= |
name: release | |
on: | |
push: | |
branches-ignore: | |
- '**' | |
tags: | |
- 'v*.*.*' | |
jobs: |
INFLUXDB_VERSION=1.7.10 | |
GRAFANA_VERSION=7.3.7 | |
SPEEDTEST_VERSION=1.1.0 | |
INFLUXDB_ADMIN_USER= | |
INFLUXDB_ADMIN_PASSWORD= | |
INFLUXDB_DB=speedtest | |
GF_SECURITY_ADMIN_PASSWORD= | |
INTERVAL=3600 |
//go:build windows | |
// +build windows | |
package term | |
import ( | |
"fmt" | |
"unsafe" | |
"golang.org/x/sys/windows" |
# /etc/traefik/conf.d/00-dashboard.yml | |
http: | |
routers: | |
dashboard: | |
rule: "PathPrefix(`/api`) || PathPrefix(`/dashboard`)" | |
service: "api@internal" |
credentials: | |
accessKeyID: "ABCDEFGHIJKLMNO123456" | |
secretAccessKey: "abcdefgh123456IJKLMN+OPQRS7890+ABCDEFGH" | |
route53: | |
hostedZoneID: "ABCEEFG123456789" | |
recordsSet: | |
- name: "ddns.example.com." | |
type: "A" | |
ttl: 300 |
In case you want to trigger an event on GitHub, you can create an empty commit:
$ git commit --allow-empty -m "Trigger event"
If you have a small drive on C and would like to move your WSL distro you can do it using the LxRunOffline tool.
LxRunOffline list
command:PS C:\> LxRunOffline list
docker-desktop-data
Ubuntu
docker-desktop