Skip to content

Commit

Permalink
Merge pull request #32 from UNDP-Data/auto-release
Browse files Browse the repository at this point in the history
added docs about realeasing
  • Loading branch information
iferencik authored Nov 28, 2023
2 parents 70da956 + d5159ea commit 81da077
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

- name: Dump tags
run: |
echo "${{ steps.meta.outputs.tags }}"
echo "${{ github.ref_name }}"
echo "Tag is proper ${{ contains(steps.meta.outputs.tags, ':v') }}"
# - name: Dump tags
# run: |
# echo "${{ steps.meta.outputs.tags }}"
# echo "${{ github.ref_name }}"
# echo "Tag is proper ${{ contains(steps.meta.outputs.tags, ':v') }}"

- name: Create release
if: ${{ contains(steps.meta.outputs.tags, ':v') }}
Expand All @@ -59,3 +59,4 @@ jobs:
with:
tag: ${{ github.ref_name }}
generateReleaseNotes: true
draft: false
47 changes: 46 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,47 @@
# geo-cogserver
# Geohub's COGserver
GeoHub COG server is powering UNDP GeoHub visualization of raster datasets

COG server builds on [titiler](https://github.com/developmentseed/titiler) a customisable dynamic raster tiling.
It contains following components:

- [x] COG tiler - render tiles from COG's
- [x] create STAC item from COG
- [x] MosaicJSON tiler - create/render MosaicJSON docs
- [x] STAC tiler - render STAC items
- [ ] Multiband tiler - render heterogenous COGs

Additionally, **COG server** aims to hold generic and specific [titiler algos](https://devseed.com/titiler/advanced/Algorithms/)
intended to provide a geospatial analytics toolbox

# versioning & realeases

As per [titiler's](https://github.com/developmentseed/titiler) recommendation
COGserver employs the titiler's API to build a customised server and keeps its own versioning
system.

Releases ca be created by:

a) pushing tags
1. commit your changes in a branch
```bash
git checkout -b branch_name
git add .
git commit -m "a message"

```
2. make and merge the branch through a PR
3. create a local tag and push it to remote
```bash
git tag -a v0.0.1 -m "v0.0.1"
git push --tag
```
4. potentially delete/overwrite
```bash
git push --delete origin v0.0.1 #remote
git tag -d v0.0.1 #local
```
b) creating a release manually using Github




0 comments on commit 81da077

Please sign in to comment.