Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
script/link-change-latest.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ericherman committed Dec 13, 2022
1 parent e8a297d commit d7bd2ca
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ vendor/
*.pdf
_site/
_build_pdf/
release.body
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2022 The Foundation for Public Code <[email protected]>

title: Release Test
version: 0.0.7
version: 0.0.8

remote_theme: publiccodenet/jekyll-theme

Expand Down
11 changes: 11 additions & 0 deletions changelog/changelog-0.0.8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- SPDX-License-Identifier: CC0-1.0 -->
<!-- SPDX-FileCopyrightText: 2022 The Foundation for Public Code <[email protected]>, https://standard.publiccode.net/AUTHORS -->

## Version 0.0.8

2020-12-13: add a pretty license page to the site

* `script/link-change-latest.sh`: generates the release.body symlink
* `.github/workflows/release-on-tag.yml`: use link-change-latest.sh
* `_config.yml`: bump version 0.0.6 -> 0.0.7
* `.gitignore`: ignore release.body
14 changes: 14 additions & 0 deletions script/link-change-latest.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash
# SPDX-License-Identifier: CC0-1.0
# SPDX-FileCopyrightText: 2021-2022 The Foundation for Public Code <[email protected]>, https://standard.publiccode.net/AUTHORS

echo "printing enviornment:"
echo
env
echo
echo

set -x

ln -sv changelog/$(ls -1 changelog | sort | tail -n1) \
release.body

0 comments on commit d7bd2ca

Please sign in to comment.