Skip to content

Commit

Permalink
set version to 1.2 and build to build on branch only
Browse files Browse the repository at this point in the history
  • Loading branch information
gittiver committed May 28, 2024
1 parent 3d6a190 commit 94a011b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: Build and test

#on: push
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
branches: [ "v1.2" ]

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/doxygen-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Deploy Doxygen results to Github Pages

#on: push
on:
push:
branches:
- master
branches: [ "v1.2" ]

permissions:
contents: write
Expand Down Expand Up @@ -36,4 +34,4 @@ jobs:
- name: run mike (Deploy 🚀)
run: |
git fetch origin gh-pages --depth=1
mike deploy master --push
mike deploy 1.2 --push
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.15.0 FATAL_ERROR)
# Define the project name and language
project(Crow
LANGUAGES CXX
VERSION 1.1.1
VERSION 1.2.0
)

# Make sure Findasio.cmake module is found
Expand Down
1 change: 1 addition & 0 deletions docs/versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[
{"version": "master", "title": "master", "aliases": []},
{"version": "1.2", "title": "1.2.0", "aliases": []},
{"version": "1.1", "title": "1.1.0", "aliases": []},
{"version": "1.0", "title": "1.0+3", "aliases": []},
{"version": "0.3", "title": "0.3+4", "aliases": []}
Expand Down

0 comments on commit 94a011b

Please sign in to comment.