File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 2323 run : |
2424 echo "NEW_ORG=${{ github.repository_owner }}" >> $GITHUB_ENV
2525 echo "NEW_PROJECT=${{ github.event.repository.name }}" >> $GITHUB_ENV
26+ echo "NEW_URL=${{ github.repositoryUrl}}" >> $GITHUB_ENV
2627
27282829 id : get_repo_meta
3839 run : |
3940 # rename the CMake project to match the github project
4041 sed -i "s/myproject/${{ github.event.repository.name }}/gi" CMakeLists.txt configured_files/config.hpp.in
42+ sed -i "s/%%myurl%%/${{ github.event.repositoryUrl }}/gi" CMakeLists.txt configured_files/config.hpp.in
4143
4244 # fill in placeholders of readme and move it into place
4345 sed -i "s/%%myorg%%/${{ env.NEW_ORG }}/g" ${{ env.TEMPLATES_PATH }}/README.md
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ project(
3737 myproject
3838 VERSION 0.0.1
3939 DESCRIPTION ""
40- HOMEPAGE_URL "https://github.com/%%myorg%%/%%myproject %%"
40+ HOMEPAGE_URL "%%url %%"
4141 LANGUAGES CXX C)
4242
4343set (GIT_SHA
You can’t perform that action at this time.
0 commit comments