mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +00:00
Compare commits
4 commits
a5ad391273
...
79105ab4f1
Author | SHA1 | Date | |
---|---|---|---|
|
79105ab4f1 | ||
|
2a3c6b0b09 | ||
|
cc660de0c4 | ||
|
4288be7d57 |
5 changed files with 16 additions and 14 deletions
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
|
@ -2,7 +2,7 @@
|
|||
name: Bug report
|
||||
about: Create a bug report to help improve the app
|
||||
title: ''
|
||||
labels: bug
|
||||
labels: bug, user feedback
|
||||
assignees: vodemn
|
||||
|
||||
---
|
||||
|
|
|
@ -2,19 +2,16 @@
|
|||
name: Feature request or improvement
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: feature
|
||||
labels: feature, user feedback
|
||||
assignees: vodemn
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
**Describe the feature or the problem it solves**
|
||||
A clear and concise description of what the problem is.
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
|
2
.github/scripts/stub_iap.sh
vendored
2
.github/scripts/stub_iap.sh
vendored
|
@ -1,2 +1,2 @@
|
|||
# https://unix.stackexchange.com/questions/435708/regex-multiline-pattern-and-substitution-replacement
|
||||
perl -0777 -i -pe 's/( m3_lightmeter_iap:\n)( git:\n url: "https:\/\/github.com\/vodemn\/m3_lightmeter_iap"\n ref: main)/$1 path: iap/sg' pubspec.yaml
|
||||
perl -0777 -i -pe 's/( m3_lightmeter_iap:\n)( git:\n url: "https:\/\/github.com\/vodemn\/m3_lightmeter_iap"\n ref: v\d{1,2}.\d{1,2}.\d{1,2})/$1 path: iap/sg' pubspec.yaml
|
11
.github/workflows/pr_check.yml
vendored
11
.github/workflows/pr_check.yml
vendored
|
@ -17,18 +17,23 @@ jobs:
|
|||
runs-on: macos-11
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- uses: 8BitJonny/gh-get-current-pr@2.2.0
|
||||
id: PR
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Connect private iap package
|
||||
uses: webfactory/ssh-agent@v0.8.0
|
||||
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
|
||||
id: fetch-iap
|
||||
if: steps.PR.outputs.number == 'null' || github.event.pull_request.head.repo.full_name == github.repository
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.M3_LIGHTMETER_IAP_KEY }}
|
||||
|
||||
- name: Override iap package with stub
|
||||
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
|
||||
id: override-iap
|
||||
if: steps.fetch-iap.conclusion != 'success'
|
||||
run: bash ./.github/scripts/stub_iap.sh
|
||||
|
||||
- uses: subosito/flutter-action@v2
|
||||
|
@ -49,7 +54,7 @@ jobs:
|
|||
run: flutter test
|
||||
|
||||
- name: Analyze project source with stub
|
||||
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
|
||||
if: steps.override-iap.conclusion != 'success'
|
||||
run: |
|
||||
bash ./.github/scripts/stub_iap.sh
|
||||
flutter pub get
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name: lightmeter
|
||||
description: Lightmeter app inspired by Material 3 design system.
|
||||
publish_to: "none"
|
||||
version: 0.15.0+41
|
||||
version: 0.15.1+42
|
||||
|
||||
environment:
|
||||
sdk: ">=3.0.0 <4.0.0"
|
||||
|
@ -26,7 +26,7 @@ dependencies:
|
|||
m3_lightmeter_iap:
|
||||
git:
|
||||
url: "https://github.com/vodemn/m3_lightmeter_iap"
|
||||
ref: main
|
||||
ref: v0.4.0
|
||||
m3_lightmeter_resources:
|
||||
git:
|
||||
url: "https://github.com/vodemn/m3_lightmeter_resources"
|
||||
|
|
Loading…
Reference in a new issue