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
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ name: Deploy Docs

on:
push:
branches: [$default-branch]
branches:
- master
workflow_dispatch:

permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: python-pypi-publish
on:
push:
branches:
- main
- master
tags:
- "*.*.*"

Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/scala-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@ name: scala-central-publish
on:
push:
branches:
- main
- master
tags:
- "*.*.*"

# In the case of pushing the tag, it will publish the release.
# In the case of pushing to the main, it will publish the SNAPSHOT

# From the docs (https://github.com/sbt/sbt-ci-release):
# - git tag pushes are published as regular releases to Maven Central
# - merge into main commits are published as -SNAPSHOT with a unique version number for every commit

jobs:
release:
strategy:
Expand All @@ -25,14 +32,12 @@ jobs:
fetch-depth: 0 # sbt-git requires the full history to determine the version

- name: Set up JDK
if: startsWith(github.ref, 'refs/tags/')
Comment thread
SemyonSinchenko marked this conversation as resolved.
uses: actions/setup-java@v4
with:
java-version: "${{ matrix.java-version }}"
distribution: 'zulu'

- name: Run the release of core
if: startsWith(github.ref, 'refs/tags/')
run: build/sbt -Dspark.version=${{ matrix.spark-version }} +ci-release "project connect" +ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand Down
11 changes: 8 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import xerial.sbt.Sonatype.sonatypeCentralHost

lazy val sparkVer = sys.props.getOrElse("spark.version", "3.5.5")
lazy val sparkMajorVer = sparkVer.substring(0, 1)
lazy val sparkBranch = sparkVer.substring(0, 3)
Expand Down Expand Up @@ -38,6 +36,7 @@ ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/graphframes/graphframes"),
"scm:git@github.com:graphframes/graphframes.git"))
// The list of active maintainers with Write/Maintain/Admin access
ThisBuild / developers := List(
Developer(
id = "rjurney",
Expand All @@ -48,7 +47,13 @@ ThisBuild / developers := List(
id = "SemyonSinchenko",
name = "Sem",
email = "ssinchenko@apache.org",
url = url("https://github.com/SemyonSinchenko")))
url = url("https://github.com/SemyonSinchenko")),
Developer(
id = "james-willis",
name = "James Willis",
email = "jimwillis95@gmail.com",
url = url("https://github.com/james-willis"))
)
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
ThisBuild / sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
ThisBuild / sonatypeProfileName := "io.graphframes"
Expand Down