From 23e3f389bc1a6b87ccccd5a9de9fb07a995c534d Mon Sep 17 00:00:00 2001 From: Thomas Lambert <t.lambert@uliege.be> Date: Sun, 27 Nov 2022 11:31:02 +0100 Subject: [PATCH] ci: leaner releases Remove some useless files for the archive release. This allows user to download a more straight-to-the-point code, without all bells and whistles for gitlab, pipelines, etc. --- .gitattributes | 18 ++++++++++++++++++ .gitignore | 1 + CHANGELOG.md | 11 ++++++++--- RELEASE.md | 8 ++++---- 4 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..326781a --- /dev/null +++ b/.gitattributes @@ -0,0 +1,18 @@ +# Files to ignore when packaging the archive (cleaner archive) + +## Directories +media/** export-ignore + +## Files +.gitignore export-ignore +.gitmodules export-ignore +.gitlab-ci.yml export-ignore +.pre-commit-config.yaml export-ignore +miss_hit.cfg export-ignore +requirements.txt export-ignore +CODEOWNERS export-ignore +RELEASE.md export-ignore +CONTRIBUTING.md export-ignore + +## Useless files and dir from libraries +src/libs/matlab_airfoil_toolbox/tests/** export-ignore diff --git a/.gitignore b/.gitignore index 81f856a..4c34cd0 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ *.m~ *.mexw64 *.mexmaci64 +*.zip # Folders to ignore results/ diff --git a/CHANGELOG.md b/CHANGELOG.md index c17aced..cff4236 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,6 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog][keep_chglog], and this project adheres to [Semantic Versioning][sem_ver]. -_This changelog will begin AFTER the first official public release of the code._ - ## [Unreleased] ### Added @@ -19,6 +17,12 @@ _This changelog will begin AFTER the first official public release of the code._ ### Fixed +## [0.0.1] - 2022-11-27 + +### Changed + +Remove useless files from the release archive + ## [0.0.0] - 2022-11-27 _Initial commit_: single rotor in hover/axial flows @@ -26,5 +30,6 @@ _Initial commit_: single rotor in hover/axial flows [sem_ver]:<https://semver.org/spec/v2.0.0.html> [keep_chglog]: <https://keepachangelog.com/en/1.0.0/> -[Unreleased]: https://gitlab.uliege.be/thlamb/rotare/compare/0.0.0...main +[Unreleased]: https://gitlab.uliege.be/thlamb/rotare/compare/0.0.1...main +[0.0.1]: https://gitlab.uliege.be/thlamb/rotare/-/releases/0.0.1 [0.0.0]: https://gitlab.uliege.be/thlamb/rotare/-/releases/0.0.0 diff --git a/RELEASE.md b/RELEASE.md index 14e4ad9..3341d7a 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,9 +1,9 @@ ## Download -**WARNING**: Download the archive titled `COMPLETE CODE: rotare-<version>` -linked above, not the _source code_ ones. The latter are automatically generated -and do not contain all dependencies. +:warning: **WARNING**: Download the archive titled `COMPLETE CODE: +rotare-<version>` linked above, not the _source code_ ones. The latter are +automatically generated and do not contain all dependencies. ## About this release -(Nothing yet) +Remove useless files from the release archive. -- GitLab