Skip to content

Commit d7e9ef8

Browse files
Merge pull request #11 from input-output-hk/feature/fixRelease
fix: release process
2 parents 34abde6 + b0f5018 commit d7e9ef8

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name: "Release Libraries"
33

44
env:
5+
JAVA_VERSION: 11
56
RUST_VERSION: "1.73.0"
67
CROSS_VERSION: "0.2.4"
78

.scripts/TemplatePackage.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ let package = Package(
1717
targets: [
1818
.target(
1919
name: "AnoncredsSwift",
20-
dependencies: ["anoncredsFFI"],
20+
dependencies: ["anoncreds_wrapperFFI"],
2121
path: "uniffi/output-frameworks/anoncreds-swift/AnoncredsSwift/Sources/Swift"
2222
),
2323
.target(
24-
name: "anoncredsFFI",
24+
name: "anoncreds_wrapperFFI",
2525
dependencies: ["libanoncreds"],
2626
path: "uniffi/output-frameworks/anoncreds-swift/AnoncredsSwift/Sources/C"),
2727
// LOCAL

uniffi/build-release-apple-universal.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ rm -f "$dest_dir/$zip_name" || true
7171
(cd $source_dir && zip -r "../../$dest_dir/$zip_name" $target_dir_name)
7272

7373
echo "Copy .swift binders"
74-
rm -f "./output-frameworks/anoncreds-swift/AnoncredsSwift/Sources/Swift/anoncreds.swift" || true
74+
rm -f "./output-frameworks/anoncreds-swift/AnoncredsSwift/Sources/Swift/anoncreds_wrapper.swift" || true
7575
mkdir -p ./output-frameworks/anoncreds-swift/AnoncredsSwift/Sources/Swift || true
76-
mv "./wrappers/swift/anoncreds/anoncreds.swift" "./output-frameworks/anoncreds-swift/AnoncredsSwift/Sources/Swift/anoncreds.swift"
76+
mv "./wrappers/swift/anoncreds/anoncreds_wrapper.swift" "./output-frameworks/anoncreds-swift/AnoncredsSwift/Sources/Swift/anoncreds_wrapper.swift"
7777

78-
rm -f "/wrappers/swift/anoncreds/anoncreds.swift" || true
78+
rm -f "/wrappers/swift/anoncreds/anoncreds_wrapper.swift" || true
7979

uniffi/output-frameworks/anoncreds-swift/AnoncredsSwift/Sources/C/include/bridge.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
#ifndef Header_h
99
#define Header_h
1010

11-
#include "anoncredsFFI.h"
11+
#include "anoncreds_wrapperFFI.h"
1212

1313
#endif /* Header_h */

0 commit comments

Comments
 (0)