Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
Bump version to 1.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanwu1105 committed Mar 28, 2021
1 parent 24d321e commit 398911b
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 15
node-version: '15'

- name: Install Ionic CLI
run: npm install -g @ionic/cli
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
persist-credentials: false

- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 15
node-version: '15'

- name: Install Ionic CLI
run: npm install -g @ionic/cli
Expand Down
51 changes: 51 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: release

on:
push:
branches:
- master

jobs:
gh-release:
runs-on: ubuntu-latest
timeout-minutes: 120

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '15'

- name: Check if version has been updated
id: version_check
uses: EndBug/version-check@v2
with:
diff-search: true
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install dependencies
if: steps.version_check.outputs.changed == 'true'
run: |
npm install -g @ionic/cli
npm install
- name: Build Ionic
if: steps.version_check.outputs.changed == 'true'
run: npm run build

- name: Zip build files
if: steps.version_check.outputs.changed == 'true'
run: zip -r -9 build.zip ./www/

- name: GitHub release
if: steps.version_check.outputs.changed == 'true'
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: ${{ steps.version_check.outputs.version }}
tag_name: ${{ steps.version_check.outputs.version }}
body: Thanks for following along! For more information check out the [CHANGELOG](https://github.com/seanwu1105/ionic-pwa-example/blob/master/CHANGELOG.md).
files: build.zip
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.0.0

### Added

- Support offline mode after installed.
- Store data locally.
- Take photos in app (without using external camera app).
- Switch ALL different cameras on devices.
- Collect GPS on taking photos.
- Support i18n dynamically for English and Tranditional Chinese.
- Localize date format dynamically.
- Share photos to other apps.
- Download photos to device storage.
- View next/previous photo with swiping gesture.
- Show EXIF of captured photos.
- Show camera with device information.
- View and zoom fullscreen photos with gesture.
- Opt-in automatic error report.
- Load thumbnail only for small size images.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "moment",
"version": "0.0.1",
"version": "1.0.0",
"author": "Sean Wu",
"homepage": "https://github.com/seanwu1105",
"scripts": {
Expand Down

0 comments on commit 398911b

Please sign in to comment.