Skip to content

Commit

Permalink
Fix metadata path
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed May 14, 2024
1 parent c808f9c commit 19f1078
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
tag_name: v${{ env.BUTTERFLY_VERSION }}
name: v${{ env.BUTTERFLY_VERSION }}
token: ${{ secrets.CI_PAT }}
body_path: metadata/android/en-US/changelogs/${{ env.BUTTERFLY_BUILD_NUMBER }}.txt
body_path: metadata/en-US/changelogs/${{ env.BUTTERFLY_BUILD_NUMBER }}.txt
- name: Retag stable
if: ${{ github.event.inputs.stable == 'true' || github.ref == 'refs/heads/main' }}
run: |
Expand Down Expand Up @@ -253,7 +253,7 @@ jobs:
BUTTERFLY_BUILD_NUMBER="${BASH_REMATCH[2]}"
echo "BUTTERFLY_BUILD_NUMBER=${BUTTERFLY_BUILD_NUMBER}" >> $GITHUB_ENV
echo 'BUTTERFLY_CHANGELOG<<EOF' >> $GITHUB_ENV
cat metadata/android/en-US/changelogs/${BUTTERFLY_BUILD_NUMBER}.txt >> $GITHUB_ENV
cat metadata/en-US/changelogs/${BUTTERFLY_BUILD_NUMBER}.txt >> $GITHUB_ENV
echo '' >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Discord Webhook Action
Expand Down
2 changes: 1 addition & 1 deletion app/test_driver/screenshot_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Future<void> main() async {
await integrationDriver(
onScreenshot: (screenshotName, screenshotBytes, [args]) async {
final File image = await File(
'../faslane/metadata/android/en-US/images/screenshots/$screenshotName.png')
'../metadata/en-US/images/screenshots/$screenshotName.png')
.create(recursive: true);
image.writeAsBytesSync(screenshotBytes);
return true;
Expand Down
3 changes: 1 addition & 2 deletions tools/set_version.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ Future<void> main(List<String> args) async {
await updateAppImageVersion(version);
await updateDebianVersion(version);
if (results['changelog']) {
var changelogFile =
File('metadata/android/en-US/changelogs/$newBuildNumber.txt');
var changelogFile = File('metadata/en-US/changelogs/$newBuildNumber.txt');
var changelog = await changelogFile.readAsString();
await updateChangelog(version, changelog);
await updateAppData(version);
Expand Down

0 comments on commit 19f1078

Please sign in to comment.