Skip to content

Commit

Permalink
update update.sh to automatically tag and release. add zenodo badge
Browse files Browse the repository at this point in the history
  • Loading branch information
neon-ninja committed Sep 24, 2024
1 parent 41cc8dd commit 07ebe7d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# CoastSat

[![DOI](https://zenodo.org/badge/829830765.svg)](https://zenodo.org/doi/10.5281/zenodo.13835882)

This repository contains a [Leaflet.glify](https://github.com/robertleeplummerjr/Leaflet.glify) map ([`index.html`](index.html)) of shoreline change around the Pacific Rim. The user can click on a transect to view a plotly.js plot of change over time for that transect. The HTML and CSVs are hosted on GitHub Pages. It also contains code required to update data in New Zealand.

Installation: `pip install -r requirements.txt`
Expand Down
6 changes: 5 additions & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ git pull
./batch_process.py
jupyter nbconvert --to notebook --execute --inplace tidal_correction.ipynb linear_models.ipynb
git commit -am "auto update" --author="coastsat-bot <ubuntu@wave.storm-surge.cloud.edu.au>"
git push
git push
TAG=$(date -u +"%Y-%m-%dT%H-%M-%SZ")
git tag $TAG
git push origin $TAG
gh release create $TAG --generate-notes

0 comments on commit 07ebe7d

Please sign in to comment.