Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Release: https://github.com/aaronsky/asc-swift/releases/tag/1.2.1

_Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_

Co-authored-by: publish-to-bcr-bot <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com>
  • Loading branch information
publish-to-bcr-bot[bot] authored Dec 11, 2024
1 parent e45cefa commit 6e44369
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 1 deletion.
38 changes: 38 additions & 0 deletions modules/asc_swift/1.2.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
"""
A Swift library for accessing Apple's App Store Connect API and Enterprise Program API.
"""

module(
name = "asc_swift",
version = "1.2.1",
)

bazel_dep(name = "apple_support", version = "1.17.1")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "rules_apple", version = "3.16.0")
bazel_dep(name = "rules_cc", version = "0.0.17")
bazel_dep(name = "rules_swift", version = "2.3.0")

bazel_dep(name = "aspect_bazel_lib", version = "2.9.4", dev_dependency = True)
bazel_dep(name = "rules_multirun", version = "0.10.0", dev_dependency = True)

asc_swift_deps = use_extension("//bazel:extensions.bzl", "asc_swift_deps")
use_repo(
asc_swift_deps,
"com_github_apple_swift_crypto",
"com_github_createapi_urlqueryencoder",
)

asc_swift_dev_deps = use_extension("//bazel:extensions.bzl", "asc_swift_dev_deps", dev_dependency = True)
use_repo(
asc_swift_dev_deps,
"com_apple_app_store_connect_api",
"com_apple_enterprise_program_api",
"com_github_aaronsky_createapi",
"com_github_apple_swift_argument_parser",
"com_github_cosmo_grammaticalnumber",
"com_github_createapi_openapikit",
"com_github_createapi_yams",
"com_github_eonist_filewatcher",
"com_github_liamnichols_swift_configuration_parser",
)
14 changes: 14 additions & 0 deletions modules/asc_swift/1.2.1/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -3,9 +3,9 @@
"""

module(
name = "asc_swift",
- version = "0.0.0",
+ version = "1.2.1",
)

bazel_dep(name = "apple_support", version = "1.17.1")
bazel_dep(name = "platforms", version = "0.0.10")
33 changes: 33 additions & 0 deletions modules/asc_swift/1.2.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
bcr_test_module:
module_path: Examples/bzlmod
matrix:
bazel:
- 7.x
- 8.x
tasks:
verify_targets_linux:
name: Verify Targets (Linux)
platform: ubuntu2004
bazel: ${{ bazel }}
environment:
CC: "clang"
SWIFT_VERSION: "6.0.2"
SWIFT_HOME: "$HOME/swift-6.0.2"
PATH: "$PATH:$HOME/swift-6.0.2/usr/bin"
shell_commands:
- "echo --- Downloading and extracting Swift $SWIFT_VERSION to $SWIFT_HOME"
- "mkdir $SWIFT_HOME"
- "curl https://download.swift.org/swift-${SWIFT_VERSION}-release/ubuntu2004/swift-${SWIFT_VERSION}-RELEASE/swift-${SWIFT_VERSION}-RELEASE-ubuntu20.04.tar.gz | tar xvz --strip-components=1 -C $SWIFT_HOME"
build_flags:
- "--action_env=PATH"
build_targets:
- "//..."
verify_targets_macos:
name: Verify Targets (macOS)
platform: macos
bazel: ${{ bazel }}
xcode_version: "16.1"
build_targets:
- "//..."
build_flags:
- "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1"
9 changes: 9 additions & 0 deletions modules/asc_swift/1.2.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-1ZgG30bnApAxsPS5HEF0pPb80lpcjgB76LHffyutQmE=",
"strip_prefix": "asc_swift-1.2.1",
"url": "https://github.com/aaronsky/asc-swift/releases/download/1.2.1/asc_swift-1.2.1.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-3usILy/dm27DZeNQIw6wZ0PqbbbbcIKilShFtFDrMNI="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/asc_swift/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"1.0.1",
"1.0.0rc2",
"1.1.0",
"1.2.0"
"1.2.0",
"1.2.1"
],
"yanked_versions": {}
}

0 comments on commit 6e44369

Please sign in to comment.