File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4444 run : |
4545 FULL_VERSION=$(grep -oP 'VERSION\s+\K[0-9]+\.[0-9]+\.[0-9]+' omodsim/CMakeLists.txt)
4646
47- if [ ! -z "${{ github.event.inputs.tag }}" ]; then
48- APP_VERSION="${{ github.event.inputs.tag }}"
49- elif [ "${GITHUB_REF_NAME}" = "dev" ]; then
47+ if [ "${GITHUB_REF_NAME}" = "dev" ] || [ "${{ github.event.inputs.branch }}" = "dev" ]; then
5048 MAJOR_MINOR=$(echo "$FULL_VERSION" | cut -d. -f1,2)
5149 APP_VERSION="${MAJOR_MINOR}~dev"
5250 else
Original file line number Diff line number Diff line change 4444 run : |
4545 FULL_VERSION=$(grep -oP 'VERSION\s+\K[0-9]+\.[0-9]+\.[0-9]+' omodsim/CMakeLists.txt)
4646
47- if [ ! -z "${{ github.event.inputs.tag }}" ]; then
48- APP_VERSION="${{ github.event.inputs.tag }}"
49- elif [ "${GITHUB_REF_NAME}" = "dev" ]; then
47+ if [ "${GITHUB_REF_NAME}" = "dev" ] || [ "${{ github.event.inputs.branch }}" = "dev" ]; then
5048 MAJOR_MINOR=$(echo "$FULL_VERSION" | cut -d. -f1,2)
5149 APP_VERSION="${MAJOR_MINOR}~dev"
5250 else
Original file line number Diff line number Diff line change 4444 run : |
4545 FULL_VERSION=$(grep -oP 'VERSION\s+\K[0-9]+\.[0-9]+\.[0-9]+' omodsim/CMakeLists.txt)
4646
47- if [ ! -z "${{ github.event.inputs.tag }}" ]; then
48- APP_VERSION="${{ github.event.inputs.tag }}"
49- elif [ "${GITHUB_REF_NAME}" = "dev" ]; then
47+ if [ "${GITHUB_REF_NAME}" = "dev" ] || [ "${{ github.event.inputs.branch }}" = "dev" ]; then
5048 MAJOR_MINOR=$(echo "$FULL_VERSION" | cut -d. -f1,2)
5149 APP_VERSION="${MAJOR_MINOR}~dev"
5250 else
You can’t perform that action at this time.
0 commit comments