Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:
DIR=`pwd`
cd build/_output/docs
zip -r ../docs.zip *
# Save the docs.zip
cp ../docs.zip /tmp

- name: Build Binaries
shell: bash
Expand All @@ -75,6 +77,20 @@ jobs:
mkdir -p ${CLI_TMP_BIN} || true
cp -R bin/* ${CLI_TMP_BIN}

- name: Release GitHub Pages Stable.txt
shell: bash
run: |
git config --local user.name "Github Action"
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
make release-ghpages
# Restore the Binaries directories
CLI_TMP_BIN=/tmp/coherence-cli-bin
mkdir bin || true
cp -R ${CLI_TMP_BIN}/* bin/
# Restore the docs.zip
mkdir -p ./build/_output
mv /tmp/docs.zip ./build/_output/docs.zip

- name: Create Release
uses: actions/create-release@v1
id: create_release
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# ======================================================================================================================

# The version of the CLI being build - this should be a valid SemVer format
VERSION ?= 1.10.0
VERSION ?= 1.10.1
MILESTONE ?=
SHELL := /bin/bash

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ manually copy to your desired location.
For Windows, use the curl command below, then copy `cohctl.exe` to a directory in your PATH:

```cmd
curl -sLo cohctl.exe "https://github.com/oracle/coherence-cli/releases/download/1.9.1/cohctl-1.9.1-windows-amd64.exe"
curl -sLo cohctl.exe "https://github.com/oracle/coherence-cli/releases/download/1.10.0/cohctl-1.10.0-windows-amd64.exe"
```

> Note: Change the **amd64** to **arm** for ARM based processor in the URL above.
Expand Down
4 changes: 2 additions & 2 deletions docs/sitegen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ engine:
attributes:
plantumlconfig: "_plantuml-config.txt"
commercial-docs-base-url: "https://docs.oracle.com/en/middleware/fusion-middleware/coherence/14.1.2"
cli-version: "1.10.0"
cli-version: "1.10.1"
coherence-version: "14.1.2-0-2"
coherence-default-version: "14.1.2-0-2"
assets:
Expand All @@ -35,7 +35,7 @@ backend:
name: "vuetify"
homePage: "docs/about/overview.adoc"
releases:
- "1.10.0"
- "1.10.1"
navigation:
type: "ROOT"
title: "Coherence CLI"
Expand Down
9 changes: 1 addition & 8 deletions scripts/release-ghpages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,14 @@ git checkout --track origin/gh-pages
git config pull.rebase true
git pull

# Create docs directory
pwd
rm -rf docs/${VERSION}/ || true
mkdir -p docs/${VERSION} || true
ls ${BUILD_OUTPUT}/docs/
cp -R ${BUILD_OUTPUT}/docs/* docs/${VERSION}/

if [ -z "`echo $VERSION | grep RC`" ] ; then
# Proper release so update stable.txt
echo $VERSION > stable.txt

# Update latest docs
rm -rf docs/latest || true
cp -R docs/${VERSION} docs/latest/
git add -A stable.txt docs/latest/* docs/${VERSION}/*
git add -A stable.txt
else
# Must be RC
git add -A docs/${VERSION}/*
Expand Down
Loading