Skip to content

Commit

Permalink
Pull version from bws
Browse files Browse the repository at this point in the history
- Lint
  • Loading branch information
mimartin12 committed Apr 17, 2024
1 parent f8bc51e commit 49ad024
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
- "master"
- "DEVOPS-1525-swift-workflow-for-package-publishing"


jobs:
version:
name: Get Version
Expand All @@ -23,7 +22,7 @@ jobs:
- name: Get Package Version
id: retrieve-version
run: |
VERSION=$(grep -o '^version = ".*"' crates/bitwarden/Cargo.toml | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+")
VERSION=$(grep -o '^version = ".*"' crates/bws/Cargo.toml | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+")
echo "package_version=$VERSION" >> $GITHUB_OUTPUT
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
# Run swiftformat
swiftformat sdk/languages/swift/Package.swift
# Copy files to local sdk-swift repo path
cp --verbose -rf sdk/languages/swift/README.md sdk-swift/README.md
cp --verbose -rf sdk/languages/swift/Package.swift sdk-swift/Package.swift
Expand Down

0 comments on commit 49ad024

Please sign in to comment.