Skip to content

Commit

Permalink
prep for 6.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoayyed committed Dec 25, 2020
1 parent cbd7b00 commit d930aea
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 48 deletions.
88 changes: 44 additions & 44 deletions .github/workflows/cas-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ env:

on:
push:
branches: [ master ]
branches: [ 6.3.x ]
pull_request:
branches: [ master ]
branches: [ 6.3.x ]

##########################################################################

Expand Down Expand Up @@ -473,27 +473,27 @@ jobs:

##########################################################################

publish-docker-image:
runs-on: ubuntu-latest
needs: [publish-snapshots]
steps:
- name: Prepare
run: |
mkdir work
cd work
curl https://casinit.herokuapp.com/starter.tgz | tar -xzvf -
chmod -R 777 ./*.sh
ls
- name: Build Docker Image
run: |
cd work
./docker-build.sh latest
- name: Publish Docker Image
if: ${{ github.event_name == 'push' && env.DOCKER_USER != null && env.DOCKER_PWD != null }}
run: |
cd work
ls
./docker-push.sh "${DOCKER_USER}" "${DOCKER_PWD}" latest
# publish-docker-image:
# runs-on: ubuntu-latest
# needs: [publish-snapshots]
# steps:
# - name: Prepare
# run: |
# mkdir work
# cd work
# curl https://casinit.herokuapp.com/starter.tgz | tar -xzvf -
# chmod -R 777 ./*.sh
# ls
# - name: Build Docker Image
# run: |
# cd work
# ./docker-build.sh latest
# - name: Publish Docker Image
# if: ${{ github.event_name == 'push' && env.DOCKER_USER != null && env.DOCKER_PWD != null }}
# run: |
# cd work
# ls
# ./docker-push.sh "${DOCKER_USER}" "${DOCKER_PWD}" latest

##########################################################################

Expand Down Expand Up @@ -733,27 +733,27 @@ jobs:

##########################################################################

report-dependency-updates:
runs-on: ubuntu-latest
needs: [cache]
if: ${{ !contains(github.head_ref, 'renovate') && github.event_name == 'push' && contains(github.event.head_commit.message, 'dependency') }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ env.JDK_CURRENT }}
- name: Initialize
run: chmod -R 777 ./ci/*.sh && ./ci/init-build.sh
- uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Report Dependency Updates
run: |
./gradlew --build-cache --configure-on-demand --no-daemon --parallel -x test -x javadoc dependencyUpdates -Drevision=release -DskipNestedConfigMetadataGen=true -DgradleReleaseChannel=current
# report-dependency-updates:
# runs-on: ubuntu-latest
# needs: [cache]
# if: ${{ !contains(github.head_ref, 'renovate') && github.event_name == 'push' && contains(github.event.head_commit.message, 'dependency') }}
# steps:
# - uses: actions/checkout@v2
# - name: Set up JDK
# uses: actions/setup-java@v1
# with:
# java-version: ${{ env.JDK_CURRENT }}
# - name: Initialize
# run: chmod -R 777 ./ci/*.sh && ./ci/init-build.sh
# - uses: actions/cache@v2
# with:
# path: ~/.gradle/caches
# key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
# restore-keys: |
# ${{ runner.os }}-gradle-
# - name: Report Dependency Updates
# run: |
# ./gradlew --build-cache --configure-on-demand --no-daemon --parallel -x test -x javadoc dependencyUpdates -Drevision=release -DskipNestedConfigMetadataGen=true -DgradleReleaseChannel=current

##########################################################################

Expand Down
6 changes: 3 additions & 3 deletions ci/push-docs-ghpages.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/bash


branchVersion="development"
branchVersion="6.3.x"

echo -e "Copying project documentation over to $HOME/docs-latest...\n"
cp -R docs/cas-server-documentation $HOME/docs-latest

cd $HOME
git config --global user.email "travis@travis-ci.org"
git config --global user.name "travis-ci"
git config --global user.email "cas@apereo.org"
git config --global user.name "CAS"
git config --global pack.threads "8"

echo -e "Cloning the repository to push documentation...\n"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Platform metadata for releases, POM generation, etc.
#################################################
group=org.apereo.cas
version=6.3.0-SNAPSHOT
version=6.3.0

projectUrl=https://www.apereo.org/cas
projectInceptionYear=2004
Expand Down

0 comments on commit d930aea

Please sign in to comment.