Skip to content

Commit

Permalink
w25
Browse files Browse the repository at this point in the history
  • Loading branch information
levb committed Jul 25, 2023
1 parent f6eaff0 commit 3b6ae71
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,26 +94,26 @@ jobs:
sed -i -E "s/$regexp/set(NATS_VERSION_REQUIRED_NUMBER 0x${major_hex}${minor_hex}00)/g" CMakeLists.txt
grep "set(NATS_VERSION_" CMakeLists.txt
# - name: Rebuild with updated version
# run: |
# mkdir -p build
# cd build
# cmake .. -DNATS_PROTOBUF_DIR=${{ github.workspace }}/deps/pbuf -DNATS_UPDATE_DOC=ON -DNATS_UPDATE_VERSION=ON
# make
# cd ..
# rm -rf deps
# git status
# git commit -a -m "Updated version to ${{steps.version.outputs.version}}"

# - name: Generate the docs
# run: |
# sudo apt-get -q update
# sudo apt-get -y install doxygen
# cd doc
# doxygen DoxyFile.NATS.Client
# git add html
# git status
# git commit -a -m "Updated docs for ${{steps.version.outputs.version}}"
- name: Rebuild with updated version
run: |
mkdir -p build
cd build
cmake .. -DNATS_PROTOBUF_DIR=${{ github.workspace }}/deps/pbuf -DNATS_UPDATE_DOC=ON -DNATS_UPDATE_VERSION=ON
make
cd ..
rm -rf deps
git status
git commit -a -m "Updated version to ${{steps.version.outputs.version}}"
- name: Generate the docs
run: |
sudo apt-get -q update
sudo apt-get -y install doxygen
cd doc
doxygen DoxyFile.NATS.Client
git add html
git status
git commit -a -m "Updated docs for ${{steps.version.outputs.version}}"
- name: Push the changes
id: branch
Expand Down

0 comments on commit 3b6ae71

Please sign in to comment.