Skip to content

Commit 9890dcb

Browse files
Release: https://github.com/aaronsky/asc-swift/releases/tag/1.3.0 _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>
1 parent 86d7bd2 commit 9890dcb

File tree

5 files changed

+96
-1
lines changed

5 files changed

+96
-1
lines changed

modules/asc_swift/1.3.0/MODULE.bazel

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
"""
2+
A Swift library for accessing Apple's App Store Connect API and Enterprise Program API.
3+
"""
4+
5+
module(
6+
name = "asc_swift",
7+
version = "1.3.0",
8+
)
9+
10+
bazel_dep(name = "apple_support", version = "1.17.1")
11+
bazel_dep(name = "platforms", version = "0.0.10")
12+
bazel_dep(name = "rules_apple", version = "3.16.0")
13+
bazel_dep(name = "rules_cc", version = "0.0.17")
14+
bazel_dep(name = "rules_swift", version = "2.3.0")
15+
16+
bazel_dep(name = "aspect_bazel_lib", version = "2.9.4", dev_dependency = True)
17+
bazel_dep(name = "rules_multirun", version = "0.10.0", dev_dependency = True)
18+
19+
asc_swift_deps = use_extension("//bazel:extensions.bzl", "asc_swift_deps")
20+
use_repo(
21+
asc_swift_deps,
22+
"com_github_apple_swift_crypto",
23+
"com_github_createapi_urlqueryencoder",
24+
)
25+
26+
asc_swift_dev_deps = use_extension("//bazel:extensions.bzl", "asc_swift_dev_deps", dev_dependency = True)
27+
use_repo(
28+
asc_swift_dev_deps,
29+
"com_apple_app_store_connect_api",
30+
"com_apple_enterprise_program_api",
31+
"com_github_aaronsky_createapi",
32+
"com_github_apple_swift_argument_parser",
33+
"com_github_cosmo_grammaticalnumber",
34+
"com_github_createapi_openapikit",
35+
"com_github_createapi_yams",
36+
"com_github_eonist_filewatcher",
37+
"com_github_liamnichols_swift_configuration_parser",
38+
)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
===================================================================
2+
--- a/MODULE.bazel
3+
+++ b/MODULE.bazel
4+
@@ -3,9 +3,9 @@
5+
"""
6+
7+
module(
8+
name = "asc_swift",
9+
- version = "0.0.0",
10+
+ version = "1.3.0",
11+
)
12+
13+
bazel_dep(name = "apple_support", version = "1.17.1")
14+
bazel_dep(name = "platforms", version = "0.0.10")

modules/asc_swift/1.3.0/presubmit.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
bcr_test_module:
2+
module_path: Examples/bzlmod
3+
matrix:
4+
bazel:
5+
- 7.x
6+
- 8.x
7+
tasks:
8+
verify_targets_linux:
9+
name: Verify Targets (Linux)
10+
platform: ubuntu2004
11+
bazel: ${{ bazel }}
12+
environment:
13+
CC: "clang"
14+
SWIFT_VERSION: "6.0.2"
15+
SWIFT_HOME: "$HOME/swift-6.0.2"
16+
PATH: "$PATH:$HOME/swift-6.0.2/usr/bin"
17+
shell_commands:
18+
- "echo --- Downloading and extracting Swift $SWIFT_VERSION to $SWIFT_HOME"
19+
- "mkdir $SWIFT_HOME"
20+
- "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"
21+
build_flags:
22+
- "--action_env=PATH"
23+
build_targets:
24+
- "//..."
25+
verify_targets_macos:
26+
name: Verify Targets (macOS)
27+
platform: macos
28+
bazel: ${{ bazel }}
29+
xcode_version: "16.1"
30+
build_targets:
31+
- "//..."
32+
build_flags:
33+
- "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1"

modules/asc_swift/1.3.0/source.json

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"integrity": "sha256-ydIbKoYP4oJdMM0D7gGxQUR5tMrI52wuyesTbKhRBmw=",
3+
"strip_prefix": "asc_swift-1.3.0",
4+
"url": "https://github.com/aaronsky/asc-swift/releases/download/1.3.0/asc_swift-1.3.0.tar.gz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-RPjW0lruJKxgPfgmLITDfnq14RSGXI2nWpljrqRZlLM="
7+
},
8+
"patch_strip": 1
9+
}

modules/asc_swift/metadata.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"1.0.0rc2",
1717
"1.1.0",
1818
"1.2.0",
19-
"1.2.1"
19+
"1.2.1",
20+
"1.3.0"
2021
],
2122
"yanked_versions": {}
2223
}

0 commit comments

Comments
 (0)