grafana / grafana-docker

Grafana docker container
Other
645 stars 378 forks source link

Only pushes the latest tag for stable releases. #148

Closed xlson closed 6 years ago

xlson commented 6 years ago

Previously beta releases were also pushed to latest.

bergquist commented 6 years ago

This seems to do the opposite.

if echo "5.1.0" | grep -iqF beta; then                                          
  echo "stable!"                                                              
fi                                                                              

if echo "5.1.0-beta1" | grep -iqF beta; then                                    
  echo "beta!"                                                                
fi  
carl at cb-office in ~/go/src/github.com/bergquist
$ ./bash-test.sh 
beta!
xlson commented 6 years ago

@bergquist Code reviews ftw ^^