Skip to content

Commit

Permalink
Update more references to an old version
Browse files Browse the repository at this point in the history
  • Loading branch information
greg7mdp committed Sep 21, 2024
1 parent 7055545 commit c81f756
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ If you are using cmake, you can use FetchContent to integrate gtl to your projec
FetchContent_Declare(
gtl
GIT_REPOSITORY https://github.com/greg7mdp/gtl.git
GIT_TAG v1.1.5 # adjust tag/branch/commit as needed
GIT_TAG v1.2.0 # adjust tag/branch/commit as needed
)
FetchContent_MakeAvailable(gtl)
Expand Down
26 changes: 14 additions & 12 deletions docs/new_release.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,43 @@
- update version in gtl_config.hpp
- update version in `gtl_config.hpp`
- update version in `CITATION.cff` and `README.md`
- update version in comment on top of `CMakeLists.txt`
- update version in comment on top of CMakeLists.txt and in README.md
- git commit
- git push
- create the new release on github (tag `v1.1.5` - use semantic versioning)
- download the tar.gz from github, and use `sha256sum gtl-1.1.5.tar.gz` on linux to get the sha256
- create the new release on github (tag `v1.2.0` - use semantic versioning)
- download the tar.gz from github, and use `sha256sum gtl-1.2.0.tar.gz` on linux to get the sha256

## conan

- fork and clone [conan-center repo](https://github.com/conan-io/conan-center-index)
- fork and clone [conan-center](https://github.com/conan-io/conan-center-index) repo
(or sync + git pull)
- git checkout master
- git checkout -b gtl_1.1.5
- git checkout -b gtl_1.2.0
- update: `recipes/greg7mdp-gtl/all/conandata.yml` and `recipes/greg7mdp-gtl/config.yml`
- sudo pip install conan -U
- cd recipes/greg7mdp-gtl/all
- conan create conanfile.py greg7mdp-gtl/1.1.5@ -pr:b=default -pr:h=default
- *does not work* conan create conanfile.py greg7mdp-gtl/1.2.0@ -pr:b=default -pr:h=default
- git diff
- git commit -am "[greg7mdp-gtl] Bump version to 1.1.5"
- git push origin gtl_1.1.5
- git commit -am "[greg7mdp-gtl] Bump version to 1.2.0"
- git push origin gtl_1.2.0
- create PR like [this](https://github.com/conan-io/conan-center-index/pull/13161)


## vcpkg

- fork and clone [vcpkg repo](https://github.com/microsoft/vcpkg)
(or sync + git pull)
- git checkout -b gtl_1.1.5
- git checkout -b gtl_1.2.0
- update ports/gtl/portfile.cmake and ports/gtl/vcpkg.json

in windows, non-cygwin console

- set VCPKG_ROOT=
- vcpkg install gtl --triplet x64-windows
- # update sha in portfile.cmake - run `sha512sum gtl-1.1.5.tar.gz` on linux
- update sha in `portfile.cmake` - run `sha512sum gtl-1.2.0.tar.gz` on linux
- git diff
- git commit -am "[gtl] Bump version to 1.1.5"
- git commit -am "[gtl] Bump version to 1.2.0"
- vcpkg x-add-version --all --overwrite-version ## (or ./vcpkg.exe --no-dry-run upgrade )
- git diff
- git commit -am "[gtl] run x-add-version"
- git push origin gtl_1.1.5
- git push origin gtl_1.2.0

0 comments on commit c81f756

Please sign in to comment.